Closed JustBlackBird closed 10 years ago
Escape function can be changed via \Handlebars\Handlebars::setEscape and \Handlebars\Handlebars::setEscapeArgs, thus htmlspecialchars function cannot be used directly.
\Handlebars\Handlebars::setEscape
\Handlebars\Handlebars::setEscapeArgs
htmlspecialchars
nice catch. I blame my weak memory for not remembering the ability to set escape function & arguments.
Escape function can be changed via
\Handlebars\Handlebars::setEscape
and\Handlebars\Handlebars::setEscapeArgs
, thushtmlspecialchars
function cannot be used directly.