Added more tests

This commit is contained in:
Erik C. Thauvin 2023-03-19 19:15:34 -07:00
parent 1aa2bc2681
commit 05c1bd3f2a
7 changed files with 121 additions and 52 deletions

View file

@ -40,6 +40,6 @@ public class EncodeHtmlEntities implements ValueRenderer {
*/
@Override
public String render(Template template, String valueId, String differentiator) {
return RenderUtils.toHtmlEntities(template.getValueOrAttribute(differentiator));
return RenderUtils.htmlEntities(template.getValueOrAttribute(differentiator));
}
}