Last modified: 2014-07-08 02:25:20 UTC
When creating a new wiki page with the following content: <code> foo() bar() </code> The generated html is: <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"> <p><code></code></p><code> <pre>foo() bar() </pre> </code><p><code></code> </p> </div> The empty code tags are a bit curious.
The output in the description happens when Tidy is enabled. When it's disabled, this happens instead: <p><code> </p> <pre>foo() bar() </pre> <p></code> </p> Note that it's also wrong, so we can't blame this bug on Tidy.