summaryrefslogtreecommitdiffstats
path: root/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/page.js b/lib/utils/page.js
index 739b59c..0636ce8 100644
--- a/lib/utils/page.js
+++ b/lib/utils/page.js
@@ -274,7 +274,7 @@ function normalizeHtml(src, options) {
$('*').each(function() {
// Ignore codeblocks
- if (_.contains(['code', 'pre', 'a'], this.name.toLowerCase())) return;
+ if (_.contains(['code', 'pre', 'a', 'script'], this.name.toLowerCase())) return;
replaceText($, this, r, function(match) {
// Add to files index in glossary