mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
fc4ba3019a
Because of the end>=left condition, the loop was exiting right before hitting the startBefore case, so use end>=left-1 instead. Fixing this exposed another bug that caused nodeRange and nodeOuterRange to be off by one: we need to increment left after storing it in startOffset, not before Change-Id: I54e18fb2119c8caefb4f7a7f2be43c6129afc4c0 |
||
---|---|---|
.. | ||
parser | ||
ve | ||
ve2 |