mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +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 |
||
---|---|---|
.. | ||
.eslintrc.json | ||
codemirror.bidiIsolation.test.js | ||
codemirror.mode.mediawiki.test.js | ||
codemirror.test.js | ||
codemirror.wikieditor.test.js | ||
setup.js |