mediawiki-extensions-Discus.../tests/cases/for-parser-cache
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
..
for-parser-cache-formattedreply.html Fix inserting comment start markers when they're outside of any wrappers 2022-01-11 16:07:37 +00:00
for-parser-cache.html CommentFormatter: Fix inserting placeholder heading marker 2021-02-24 20:32:48 +01:00