mediawiki-extensions-Discus.../tests/cases/wrappers
Bartosz Dziewoński 492dbd7847 Fix inserting comment start markers when they're outside of any wrappers
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
2022-01-11 16:07:37 +00:00
..
wrappers-formattedreply.html Fix inserting comment start markers when they're outside of any wrappers 2022-01-11 16:07:37 +00:00
wrappers-modified.html Make IDs (to be used as URL hashes) wikitext safe 2021-03-18 20:45:21 +01:00
wrappers.html Fix replying outside wrappers for partially indented comments 2021-02-08 22:18:37 +01:00