mediawiki-extensions-Discus.../tests
Bartosz Dziewoński e36dc8e78a Skip to the end of the paragraph in the parser, not modifier
When a comment ended before the end of a paragraph, the next
comment would begin right there in the middle of the paragraph.
This could result in the detected indentation level of that
comment being incorrect, and replies being inserted in wrong
places, as seen in the 'signatures-funny' test case.

The code moved to the parser was previously repeated twice in
addListItem() and addReplyLink(), which should have been a hint
that something isn't quite right.

Also, fix the code guarding against overlapping signatures,
now that signatures may not be at the end of a comment.

Bug: T260855
Change-Id: Ic26a87642f8a15d5de2f7073d4d8176b299c7f94
2020-08-20 19:35:55 +00:00
..
cases Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
data Tests covering fr.wp unsigned comment templates 2020-05-28 00:13:07 +02:00
phpunit parser: Fix comment ranges when timestamp has entities 2020-08-11 20:41:06 +02:00
qunit Fix indentation level when replying to comments with mixed indentation 2020-08-06 01:25:33 +02:00