https://bugzilla.wikimedia.org/show_bug.cgi?id=19290
Web browser: --- Summary: French spacing matches where it shouldn't Product: MediaWiki Version: 1.16-svn Platform: All OS/Version: All Status: NEW Severity: minor Priority: Normal Component: Page rendering AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: tstarl...@wikimedia.org 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l