Skip to content

Commit be52d37

Browse files
committed
[htmlmixed mode] Fix typo bug
1 parent 38e68ed commit be52d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/htmlmixed/htmlmixed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CodeMirror.defineMode("htmlmixed", function(config) {
2222
var close = cur.search(pat), m;
2323
if (close > -1) stream.backUp(cur.length - close);
2424
else if (m = cur.match(/<\/?$/)) {
25-
stream.backUp(cur[0].length);
25+
stream.backUp(cur.length);
2626
if (!stream.match(pat, false)) stream.match(cur[0]);
2727
}
2828
return style;

0 commit comments

Comments
 (0)