vendor/assets/javascripts/codemirror/modes/xml.js in codemirror-rails-2.32 vs vendor/assets/javascripts/codemirror/modes/xml.js in codemirror-rails-2.33
- old
+ new
@@ -28,11 +28,11 @@
'thead': {'tbody': true, 'tfoot': true},
'tr': {'tr': true}
},
doNotIndent: {"pre": true},
allowUnquoted: true,
- allowMissing: false
+ allowMissing: true
} : {
autoSelfClosers: {},
implicitlyClosed: {},
contextGrabbers: {},
doNotIndent: {},
@@ -227,10 +227,10 @@
return function(type) {
if (err) setStyle = "error";
if (type == "endTag") { popContext(); return cont(); }
setStyle = "error";
return cont(arguments.callee);
- }
+ };
}
function maybePopContext(nextTagName) {
var parentTagName;
while (true) {
if (!curState.context) {