https://bugzilla.wikimedia.org/show_bug.cgi?id=3158
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Automatic nbsp is inserted |Parser inserts invalid |even into XHTML attributes, | in the middle of |including style |style attribute --- Comment #6 from Krinkle <krinklem...@gmail.com> --- (Cite Krinkle from 67092 comment #0) > When the parser strips a /* comment */ from a style attribute it inserts a > in its place. This causes the stylesheet to be invalidated by the > browser and the relevant styles are not applied when the page is renders. > > > Wikitext input: > > <blockquote style="border: 1px solid #aaa /* foo */;"></blockquote> > > Expected output: > > <blockquote style="border: 1px solid #aaa ;"></blockquote> > or > <blockquote style="border: 1px solid #aaa;"></blockquote> > > Actual output: > > <blockquote style="border: 1px solid #aaa  ;"></blockquote> > > A nbsp; is illegal in css in that position and results in a parse error by > the browser, causing the 'border' rule in this case to not be applied. -- 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