mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
5afd15b2cc
The trailing space at the end of the regexp is no longer required to prevent matching (and executing) too soon. We also don't need to know about trailing punctuation. However, to prevent the match from ending in the middle of typing, we have to allow for ' ' and '-' at the end of the match. Tweaked tests to better match the intent now that a trailing space is not included, but they pass without changes too, the command is quite permissive. Bug: T117165 Depends-On: Ie36046fa43ce49f8a25c99f2de577eb296d68a51 Depends-On: I2af0a738afa43295bf6d7d612cac4349bc6cd20d Change-Id: I7c28d5c93b1a441387ad05a75846af83d2b21b6a |
||
---|---|---|
.. | ||
ve.ui.FormatAction.test.js | ||
ve.ui.MWLinkAction.test.js |