diff options
Diffstat (limited to 'lib/utils/page.js')
-rw-r--r-- | lib/utils/page.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/utils/page.js b/lib/utils/page.js index 3c7d0b0..499c9a8 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) { |