Author: dan
Description:
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.
Version: 1.23.0
Severity: normal