Skip to content
Snippets Groups Projects
Commit 439d993d authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[xml mode] Prevent mode getting confused when finding junk in close tag

parent 6285b1b8
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,8 @@ CodeMirror.defineMode("xml", function(config, parserConfig) {
return function(type) {
if (err) setStyle = "error";
if (type == "endTag") { popContext(); return cont(); }
return pass();
setStyle = "error";
return cont(arguments.callee);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment