Last modified: 2009-06-23 01:49:06 UTC
The French spacing parser feature, which converts a plain space before punctuation into a non-breaking space, is naively implemented and has undesirable side effects. For instance, the following wikitext:
== !!! READ THIS FIRST !!! ==
is rendered as:
...<span class="mw-headline"> !!! READ THIS FIRST !!! </span>...
The present regex matches at the start of HTML elements, as shown, and could also match inside attributes. The solution is probably to either move it into doMagicLinks(), or to implement something like what is there: a method for doing regex substitution on the plain text component of HTML and not on the attributes.
Reported on IRC by MZMcBride.
*** This bug has been marked as a duplicate of bug 3158 ***