Page MenuHomePhabricator

fix mediawiki eating leading spaces in <pre> tag
Closed, ResolvedPublic

Description

<pre>
   test
</pre>

Is rendered as.

test

Shold be rendered as.

test

Could be some mediawiki bug, some bug with our mediawiki skin Strapping or otherwise. TODO: research

Details

Impact
Normal

Event Timeline

Patrick created this task.Jan 20 2017, 7:35 AM

Try making the opening tag <pre style="white-space: pre-wrap;"> instead of normal <pre>. There are a number of other wrapping/whitespace options if that doesn't work for what you need.