mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-18 00:30:30 +00:00
e1f397f048
This fixes a careless error introduced in I1338afeefa where we don't do a strict equality test and thus if the tag is the first element (at position 0), the following bracket is also treated as the start position. Here we simply do a strict equality test against null (the reset value), and viola, several issues are fixed. Bug: T358804 Change-Id: I86021d363ecc33a7551bc887439dc1902914026f |
||
---|---|---|
.. | ||
codemirror.js | ||
codemirror.mode.mediawiki.js | ||
codemirror.wikieditor.mediawiki.js | ||
vendor.js |