mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1214663 - Make CodeMirror not break when encountering a <constructor> tag;r=Gijs
This commit is contained in:
parent
d38525139b
commit
e70101a9c5
@ -89,8 +89,8 @@
|
||||
tags.script.unshift(["type", configScript[i].matches, configScript[i].mode])
|
||||
|
||||
function html(stream, state) {
|
||||
var tagName = state.htmlState.tagName;
|
||||
var tagInfo = tagName && tags[tagName.toLowerCase()];
|
||||
var tagName = state.htmlState.tagName && state.htmlState.tagName.toLowerCase();
|
||||
var tagInfo = tagName && tags.hasOwnProperty(tagName) && tags[tagName];
|
||||
|
||||
var style = htmlMode.token(stream, state.htmlState), modeSpec;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user