Fix #1041 : fix glossary terms being replaced in script (ex: math)

This commit is contained in:
Samy Pessé
2015-12-08 15:27:11 +01:00
parent 5c16aec096
commit 6eb1605be6
+1 -1
View File
@@ -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