Consider the wikitext:
<pre> function foo ( $x ) { return $x ? " x " : " y "; } </pre> <!-- same thing, but with indent-pre --> function foo ( $x ) { return $x ? " x " : " y "; }
I'd suggest that a reader (hence tagging this for Parsoid-Read-Views) would expect to be able to copy-and-paste from the resulting HTML. But in fact current parsing will perform the "french spacing" post processing transformation here and insert <span typeof="mw:DisplaySpace">&nsbp;</span>. This would cause the code to fail if you copy-and-pasted it, as your runtime choked either on the unexpected whitespace character, or the unexpected contents of your string literals.