Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1041 by
glancas...@appneta.com: HTML parser breaks Handlebars
markup in an edge case with invalid html
https://code.google.com/p/modpagespeed/issues/detail?id=1041
Handlebars.js markup such as '{{/if_eq}}' in an HTML tag gets converted
to '{{ if_eq}}' when the HTML parser treats '/' as an attribute separator
and renders it as a space.
The attached handlebars_fix.diff patch against the current trunk code fixes
the problem and hopefully doesn't break anything else.
Code was tested with Apache 2.2.22 on Ubuntu 12.04 LTS (Precise).
The attached select.html document illustrates the problem.
Attachments:
handlebars_fix.diff 892 bytes
select.html 261 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings