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 ancor (id-attribute) not rendered #49

Open
philister opened this issue Sep 19, 2016 · 0 comments
Open

footnote ancor (id-attribute) not rendered #49

philister opened this issue Sep 19, 2016 · 0 comments

Comments

@philister
Copy link

foo[1]

bar

fn1. Not exclusivly foo, als foobar.

It will not render the id-attribute of the p-tag.

Redcloth is working correct:
text= "foo[1]\n\nbar\n\nfn1. Not exclusivly foo, als foobar."; RedCloth.new(text).to_html
results in:
<p>foo<sup class="footnote" id="fnr1"><a href="#fn1">1</a></sup></p>\n<p>bar</p>\n<p class="footnote" id="fn1"><a href="#fnr1"><sup>1</sup></a> Not exclusivly foo, als foobar.</p>

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