Skip to content

Commit

Permalink
Fix #27 - Rule export escapes special characters in rules unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
oowekyala committed Oct 2, 2019
1 parent 85dc68a commit c138689
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ private static LiveTemplateBuilder<ObservableXPathRuleBuilder> liveTemplateBuild
.appendIndent(2).appendLine("<property name=\"xpath\">")
.appendIndent(3).appendLine("<value>")
.appendLine("<![CDATA[")
.withDefaultEscape(s -> s) // stop escaping
.bind(ObservableXPathRuleBuilder::xpathExpressionProperty).endLine()
.appendLine("]]>")
.appendIndent(3).appendLine("</value>")
Expand Down

0 comments on commit c138689

Please sign in to comment.