Skip to content

Commit 909c2f1

Browse files
committed
Fixed IF_TAGS_ABSENT tag escaping strategy
1 parent 7e60887 commit 909c2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/pl/droidsonroids/gradle/localization/ParserEngine.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class ParserEngine {
241241
}
242242

243243
private void yieldValue(MarkupBuilderHelper mkp, String value, TagEscapingStrategy strategy = mConfig.tagEscapingStrategy) {
244-
if (strategy == ALWAYS || (strategy == IF_TAGS_ABSENT && Utils.containsHTML(value)))
244+
if (strategy == ALWAYS || (strategy == IF_TAGS_ABSENT && !Utils.containsHTML(value)))
245245
mkp.yield(value)
246246
else
247247
mkp.yieldUnescaped(value)

0 commit comments

Comments
 (0)