mediawiki-extensions-Discus.../tests/cases/en-big-parsoid
David Lynch ec0e2920ae API ThreadItemsHTML: improve generation of othercontent
Othercontent would often contain the opening tag of the next heading /
section. By looking for the closest node with a previousSibling we can
more-reliably escape the heading.

Also, only add the initial placeholder if there's content before the
first heading. We do this by testing for any siblings before the
startContainer of the first heading -- if there are any, assume this
means there's some sort of content. (This can still result in a
placeholder with `othercontent:""` if there's only whitespace before
the first heading.)

Bug: T313850
Change-Id: I080205b74413c46d3cf3442e79276145aaa9439c
2022-07-28 02:51:18 -05:00
..
en-big-parsoid-getHTML.json Change CommentParser and ImmutableRange to use offsets in codepoints instead of bytes 2021-09-27 19:04:16 +00:00
en-big-parsoid-getText.json Use Sanitizer::stripAllTags() when generating notification snippets 2022-02-10 22:23:24 +01:00
en-big-parsoid-modified-bullet.html Limit where whitespaceParsoidHack() is used 2022-01-29 22:42:46 +00:00
en-big-parsoid-modified.html Limit where whitespaceParsoidHack() is used 2022-01-29 22:42:46 +00:00
en-big-parsoid-threadItemsHtml.json API ThreadItemsHTML: improve generation of othercontent 2022-07-28 02:51:18 -05:00
en-big-parsoid-transcludedFrom.json One more tweak for comparing comment ranges to transclusion/DOM ranges 2022-01-24 17:42:18 +00:00
en-big-parsoid.html Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
en-big-parsoid.json tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00