mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-15 12:00:51 +00:00
492dbd7847
Comment boundaries are stored as a DOM parent node plus a child index. Because of that, inserting anything into the DOM before a comment – such as another comment's start/end markers – would cause us to insert subsequent comments' markers into the wrong places. This issue didn't affect many pages, because usually any parent node would have just one comment in it. Only pages with comment boundaries outside of any wrappers (directly inside the root node) were broken. Just process the list in reverse to fix this. Bug: T298096 Change-Id: Iccffc36b71e9fcf3d72c4db2b9459d39042f7a2d |
||
---|---|---|
.. | ||
wrappers-formattedreply.html | ||
wrappers-modified.html | ||
wrappers.html |