dpinol / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

soy.$$stripHtmlTags in JS behaves differently from Sanitizers.stripHtmlTags in Java #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current version wouldn't pass these two tests:

assertEquals(
            "Hello, &quot;World!&quot;", stripHtmlTags("<b>Hello, \"World!\"</b>", true));

assertEquals("&amp;amp;", stripHtmlTags("&<hr>amp;", true));

Original issue reported on code.google.com by lalinsky on 28 Feb 2014 at 1:57

Attachments:

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub: 
https://github.com/google/closure-templates. Please reopen this there if it's 
still an issue.

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:10

GoogleCodeExporter commented 8 years ago

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:13