summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/utils.js')
-rw-r--r--lib/handlebars/utils.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js
index c522394..fc6dcfb 100644
--- a/lib/handlebars/utils.js
+++ b/lib/handlebars/utils.js
@@ -4,11 +4,12 @@ const escape = {
'>': '>',
'"': '"',
"'": ''',
- '`': '`'
+ '`': '`',
+ '=': '='
};
-const badChars = /[&<>"'`]/g,
- possible = /[&<>"'`]/;
+const badChars = /[&<>"'`=]/g,
+ possible = /[&<>"'`=]/;
function escapeChar(chr) {
return escape[chr];