mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 6e37a172ae Fix detecting decorative comment frames with whitespace
As a result of 0fc71f60cd, "empty" text
nodes (containing only whitespace) at the end of the comment may be
inside the comment's range, and trying to ignore them caused the
ranges not to match and the frame not to be detected.

Now the code works whether they're inside the comment's range or not.

Add a test case for wrapped discussion comments with HTML comments and
with whitespace.

Bug: T250126
Bug: T268407
Change-Id: I2217ff5a635fd1c9c9e803f46795b1bfb3d17535
2021-01-04 20:31:33 +01:00
..
dt-ve Don't include the logged in user in local suggestions 2020-11-16 22:48:21 +00:00
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json eslint: Disable max-len 2020-04-21 15:50:19 +01:00
CommentController.js Fix displaying reply links after posting a reply with dtenable=1 2020-11-18 19:29:04 +01:00
CommentItem.js Move warnings stuff from CommentItem to ThreadItem 2020-11-02 20:07:23 +00:00
controller.js Add explicit dependency on targetLoader 2020-12-15 19:34:57 +00:00
dt.debug.js Remove a fixed TODO comment 2020-12-14 22:16:16 +01:00
dt.init.js Enable DT server side via a cookie to preserve user enable hack 2020-10-19 21:42:58 +01:00
dt.init.less Fix highlight rendering in Safari with GPU hack 2020-12-14 22:56:08 +00:00
dt.ui.ReplyWidget.js Fix styling of error/captcha MessageWidgets 2020-12-11 16:27:07 +00:00
dt.ui.ReplyWidget.less Follow-up I6f6a869: Apply flex wrapping of actions in anon mode as well 2020-12-17 22:24:18 +00:00
dt.ui.ReplyWidgetPlain.js ReplyWidget: Pass initial config values to #setup, not to constructor 2020-09-25 20:00:00 +02:00
dt.ui.ReplyWidgetVisual.js ReplyWidget: Pass initial config values to #setup, not to constructor 2020-09-25 20:00:00 +02:00
HeadingItem.js Move ID->title logic into HeadingItem 2020-11-05 16:10:39 +00:00
highlighter.css Improve highlighter styling 2020-11-16 23:34:26 +00:00
highlighter.js Improve highlighter styling 2020-11-16 23:34:26 +00:00
logger.js Switching editor modes would switch editor_interface before success/fail 2020-10-28 21:59:32 -05:00
modifier.js Handle category links like comments (rendering-transparent nodes) 2020-12-08 21:39:16 +00:00
Parser.js Consistent use of isBlockElement() in JS code 2020-12-05 22:48:34 +01:00
ThreadItem.js ThreadItem.js: Fix documentation comment 2020-12-12 12:58:16 +00:00
utils.js Fix detecting decorative comment frames with whitespace 2021-01-04 20:31:33 +01:00