The markup in the first example (Markdown active) looks like this:
<p>The Sun is pretty big.</p><p><sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup></p><p> The Moon, however, is not so big.</p><p><sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[2]</a></sup></p><p class="mw-empty-elt"></p>
but the markup should look like this:
The Sun is pretty big.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[1]</a></sup> The Moon, however, is not so big.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3">[2]</a></sup>
With Markdown rendering active I get this:
instead of this:
The markup in the first example (Markdown active) looks like this:
but the markup should look like this: