whitespace going missing on wikipages?

Gunnar AAstrand Grimnes gunnar.grimnes at dfki.de
Sun Nov 9 12:10:29 CET 2008

Hi all,

I've recently seen a problem with whitespace at the beginning or end of
lines going missing on wiki-pages. This is mainly noticable for
pre-formatted text. See for instance my edit here:


I am sure I did not remove the whitespace for the pre-formatted text,
and only added the ToDo line.
Once broken it's hard to fix with adding whitespace again, and I've only
been able to restore pre-formatting with <pre> ... </pre>. For code
examples where whitespace matters the problem is worse....

I have confirmed this to be broken for several other pages - see for


and many more.

And it happens in both firefox3 and opera, so it's not browser related.

It almost looks as if the underlying DB has had the whitespace removed,
and it only shows up when people edit. I do not know how wikimedia
works, perhaps the rendered HTML is cached?

Has anyone else noticed this? Has anyone got a workaround?


- Gunnar

More information about the documentation mailing list