diff --git a/core/modules/parsers/wikiparser/rules/html.js b/core/modules/parsers/wikiparser/rules/html.js index dd1ea4540..b92d19a69 100644 --- a/core/modules/parsers/wikiparser/rules/html.js +++ b/core/modules/parsers/wikiparser/rules/html.js @@ -97,6 +97,9 @@ exports.parseTag = function(source,pos,options) { return null; } node.tag = token.match[1]; + if(node.tag.slice(1).indexOf("$") !== -1) { + return null; + } if(node.tag.charAt(0) === "$") { node.type = node.tag.substr(1); }