mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-25 17:00:11 +00:00
33d69e26c9
Notably, JS trims the no-break space, while PHP doesn't. There are some other differences that don't come up in our tests. What we really want is to trim the ASCII whitespace as defined in the HTML spec. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trim https://www.php.net/manual/en/function.trim.php https://infra.spec.whatwg.org/#ascii-whitespace Change-Id: I95b8fb38878716a2fa7ec84c9f2e8065ebe77c0d |
||
---|---|---|
.. | ||
cases | ||
data | ||
controller.test.js | ||
index.js | ||
modifier.test.js | ||
parser.test.js | ||
testUtils.js |