Last modified: 2014-06-25 20:41:10 UTC
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.
Change 142042 had a related patch set uploaded by Krinkle: [WIP] Parser: Don't insert inside style attributes https://gerrit.wikimedia.org/r/142042
*** This bug has been marked as a duplicate of bug 3158 ***