fix bug 1010030 - Ensure spacing for PRE elements

https://bugzilla.mozilla.org/show_bug.cgi?id=1010030