mediawiki-extensions-Visual.../modules/ve-mw/dm
Sébastien Beyou 6ea7ab19fd Fix getTemplateDataQueryTitle() when the title ends with a newline
According to ECMAScript, .trim() and RegExp’s "\s" capture the same
characters, so I replace the initial "\s*" by .trim() to remove
whitespaces and line terminators at the beginning and at the end.

Bug: T371000
Change-Id: Id9188f97a3136b986b052b71cd4079c1109ea8ff
2024-07-26 16:18:29 +02:00
..
annotations ESLint: Re-enable prefer-const and fix 2024-05-21 17:50:12 +01:00
metaitems ESLint: Re-enable prefer-const and fix 2024-05-21 17:50:12 +01:00
models Fix getTemplateDataQueryTitle() when the title ends with a newline 2024-07-26 16:18:29 +02:00
nodes Update VE core submodule to master (65e536c1c) 2024-06-17 20:06:18 +02:00
.eslintrc.json build: Updating npm dependencies 2024-06-16 15:25:54 +00:00
ve.dm.MWWikitextSurface.js Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
ve.dm.MWWikitextSurfaceFragment.js ESLint: Re-enable prefer-const and fix 2024-05-21 17:50:12 +01:00