mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
99d23ac841
We noticed the group="…" attribute was the only one that was not trimmed. Does this mean it was possible to have two groups "a" and " a"? It turns out: no. This was never possible because the parser already trims all attributes before calling this code. I tried to come up with the worst possible test case, but it succeeds, even with very old versions of this codebase. I suggest to remove the extra trimming from this codebase and rely on what the parser provides. Note the content is special and *not* trimmed by default. Change-Id: Idff015447d7156ba7b5c03a5c423f199a71349f2 |
||
---|---|---|
.. | ||
bookReferencing.txt | ||
citeParserTests.txt |