Skip to content

Commit 6bb04c0

Browse files
committed
Merge pull request jknack#457 from mathijs81/master
Fix missing ; in equals sign escape
2 parents 124d771 + 15fec6e commit 6bb04c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

handlebars/src/test/java/com/github/jknack/handlebars/i386/Issue386.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Issue386 extends AbstractTest {
1111
@Test
1212
public void blockHelperShouldNotIntroduceANewContext() throws IOException {
1313
shouldCompileTo("{{#partial \"body\"}}{{&this}}{{/partial}}{{block \"body\"}}", $("foo", "bar"),
14-
"{foo&#x3Dbar}");
14+
"{foo=bar}");
1515
}
1616

1717
@Test

handlebars/src/test/java/com/github/jknack/handlebars/i430/Issue430.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
public class Issue430 extends v4Test {
1313
@Test
1414
public void shouldEscapeEqualsSignInHtml() throws IOException {
15-
assertEquals("foo&#x3D", Handlebars.Utils.escapeExpression("foo=").toString());
15+
assertEquals("foo=", Handlebars.Utils.escapeExpression("foo=").toString());
1616
}
1717
}

0 commit comments

Comments
 (0)