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

Footnote back links with --id-prefix #4235

Closed
frabjous opened this issue Jan 9, 2018 · 0 comments
Closed

Footnote back links with --id-prefix #4235

frabjous opened this issue Jan 9, 2018 · 0 comments

Comments

@frabjous
Copy link

frabjous commented Jan 9, 2018

Is this broken in v2.0.6?

I'm getting this behavior:

Running:

$ echo 'This.^[Has a footnote.]' | pandoc --id-prefix='foo'

I get:

<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"><sup>1</sup></a></p>
<section class="footnotes">
<hr />
<ol>
<li id="foofn1"><p>Has a footnote.<a href="#foofoofnref1" class="footnote-back">↩</a></p></li>
</ol>
</section>

Notice the double "foofoo" in the "back link", which breaks it.

@jgm jgm closed this as completed in e3f0123 Jan 9, 2018
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

No branches or pull requests

1 participant