Open TranVanTinhUIT opened 1 year ago
handlebars not escape ' character
'
I think that result is '.
'
[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); }
Describe the bug
handlebars not escape
'
characterExpected behavior:
I think that result is
'
.Test to reproduce