On 11/18/07, Simetrical <Simetrical+wikilist(a)gmail.com> wrote:
;> Right, so what happens if someone has a snippet of code on a line with
an initial space on a wiki page, and the new parser
changes the
whitespace there? Different rendering. I'm not saying we have to
fret about that too much, just keep in mind that XML whitespace
compression isn't totally consistent.
This:
<space>some<space><space>code
is converted to:
<pre>
some<space><space>code
</pre>
No normaliser is going to mess with the formatting inside a <pre> tag.
Of course, I don't even know if such a thing even exists, we might
have to write one. I don't think it's hard: basically parse every tag,
and write it back out in some defined way, with controlled whitespace.
Steve