diff --git a/lib/utils/page.js b/lib/utils/page.js index 739b59c31..0636ce858 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