Last modified: 2012-11-03 03:51:08 UTC
The following wikitext: <pre>Foo Bar </pre> yields the following HTML: <pre><span typeof="mw:Placeholder"> </span>oo Bar </pre> HTML with data-parsoid attributes included: <pre data-parsoid="{"stx":"html","tsr":[0,5],"bsp":[0,19],"dsr":[0,19]}"><span typeof="mw:Placeholder" data-parsoid="{"src":"\n","dsr":[5,6]}"> </span>oo Bar </pre> It seems the first character is unconditionally being stripped and replaced with a newline placeholder, even if the first character isn't actually a newline. I generally don't like the newline placeholder inside <pre>s, and I'd like to get rid of it if possible.
Fixed in https://gerrit.wikimedia.org/r/31601 , thanks Subbu!