mediawiki-extensions-Visual.../modules/ve-mw/tests/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 build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
models Fix getTemplateDataQueryTitle() when the title ends with a newline 2024-07-26 16:18:29 +02:00
nodes tests: Adopt QUnit.test.each() and native async-await in a few places 2024-05-01 19:01:19 +01:00
ve.dm.Converter.test.js
ve.dm.Document.test.js
ve.dm.mwExample.js build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
ve.dm.SurfaceFragment.test.js SurfaceFragment tests: Put isolateAndUnwrap tests in a loop 2024-06-05 17:50:29 +00:00