mediawiki-extensions-AbuseF.../tests/parserTests/rmspecials.t
Huji 52827acbab Make rmspecials preserve whitespace
The existing filters on WMF wikis has been changes such that calls
to rmspecials() are now rmspecials(rmwhitespace()) to ensure no change
is made in behaviour. Filter admins can change this back if filter is
not meant to trigger when part of the input is contains spaces.

Bug: T263024
Change-Id: Idde09b50fb8eda357afbedc1199a5483fa8217c1
2022-02-06 06:07:46 +00:00

2 lines
75 B
Perl

rmspecials("foo;bar!") === "foobar" &
rmspecials("foo; bar!") === "foo bar"