Escape ` and = when escaping HTML.
They can be used for nefarious purposes on old IEs. Refs wycats/handlebars.js@83b8e84
This commit is contained in:
@@ -15,7 +15,9 @@ public class Escapers
|
||||
{ "'", "'" },
|
||||
{ "\"", """ },
|
||||
{ "<", "<" },
|
||||
{ ">", ">" }
|
||||
{ ">", ">" },
|
||||
{ "`", "`" },
|
||||
{ "=", "=" }
|
||||
});
|
||||
|
||||
/** An escaper that does no escaping. */
|
||||
|
||||
Reference in New Issue
Block a user