Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markup produced by Cite extension contains a lot of extra <p> tags #15

Open
joelittlejohn opened this issue Oct 31, 2019 · 0 comments · May be fixed by #16
Open

Markup produced by Cite extension contains a lot of extra <p> tags #15

joelittlejohn opened this issue Oct 31, 2019 · 0 comments · May be fixed by #16

Comments

@joelittlejohn
Copy link

With Markdown rendering active I get this:

image

instead of this:

image

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">&#91;1&#93;</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">&#91;2&#93;</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">&#91;1&#93;</a></sup> The Moon, however, is not so big.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3">&#91;2&#93;</a></sup>
joelittlejohn added a commit to joelittlejohn/mw-markdown that referenced this issue Oct 31, 2019
Avoid additional `<p>` tags around every bit of rendered wikitext.

Closes bharley#15.
@joelittlejohn joelittlejohn linked a pull request Oct 31, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant