mediawiki-extensions-Discus.../tests/qunit
Bartosz Dziewoński 31b26a5bec Fix indentation level when replying to comments with mixed indentation
When adding a reply, we take a node at the end of the previous comment,
compare that comment's indentation level to the expected indentation level
of the reply, and add (or remove) that number of wrapper lists.

The existing code did not consider that comments may have lists within
them, and so the indentation of that node may not match the indentation
of the comment.

Bug: T252702
Change-Id: Icc5ff19783d2b213bff99f283cb0599a8b5c1ab4
2020-08-06 01:25:33 +02:00
..
.eslintrc.json Improve ThreadItem documentation 2020-06-26 14:56:19 +02:00
index.js Move #getAuthors from parser to ThreadItem 2020-07-20 15:13:59 +01:00
modifier.test.js Allow updating the expected results when running PHP tests 2020-08-04 03:05:28 +02:00
parser.test.js Refactor CommentParser 2020-07-20 23:38:10 +01:00
testUtils.js Fix indentation level when replying to comments with mixed indentation 2020-08-06 01:25:33 +02:00
ThreadItem.test.js Refactor CommentParser 2020-07-20 23:38:10 +01:00