diff --git a/lib/utils/page.js b/lib/utils/page.js index 3c7d0b0bc..499c9a8ee 100644 --- a/lib/utils/page.js +++ b/lib/utils/page.js @@ -242,6 +242,9 @@ function normalizeHtml(src, options) { var includedInFiles = false; $("*").each(function() { + // Ignore codeblocks + if (_.contains(["code", "pre"], this.name.toLowerCase())) return; + replaceText($, this, r, function(match) { // Add to files index in glossary if (!includedInFiles) {