Author: Marc Meurrens
Description:
The bug can be easely reproduced.
Just type in an article something like :
one: un - two : deux ; three : trois ! (1)
(mind the spaces!!!)
Look at the HTML source code generated : you'll see something like :
one: un - two : deux ; three : trois ! (2)
which, in general, is fine.
Observe that spaces before punctuation marks ( : ; ! )
have been replaced by the htmlEntity.
What's the problem with that?
If you want to make sure an image will not overlap from one section to another,
you'll probably use the syntax :
<br style="clear:both;" /> (3)
Everything works fine...
But if you write it as :
<br style=" clear : both ; " /> (4)
which is perfectly legal (and much readable, specially if you have a large style
statement)
you'll unfortunately generate :
<br style=" clear : both ; " /> (5)
and, of course, the style specification is invalid
and will be ignored.
The workaround is evident : use format (3)
...but it remains an annoying problem
for those who ignore the bug.
Version: unspecified
Severity: minor
URL: http://test.wikipedia.org/wiki/Nbsp_in_style
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=11874