handlebars not escape `'` character
TranVanTinhUIT opened this issue · 0 comments
TranVanTinhUIT commented
Describe the bug
handlebars not escape '
character
Expected behavior:
I think that result is '
.
Test to reproduce
[TestMethod]
public void Escape_Test()
{
var handlebars = Handlebars.Create();
var render = handlebars.Compile("{{input}}");
object data = new { input = "test'1" };
var actual = render(data);
Assert.Equal("test'1", actual);
}