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

code in header produce invalid anchor #308

Closed
ghost opened this issue Jan 15, 2019 · 1 comment
Closed

code in header produce invalid anchor #308

ghost opened this issue Jan 15, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 15, 2019

If you use some markup like this:

`aaaaa`
-------

bbbbb

I would expect this result:

#aaaaa

however what is generated is:

#codeaaaaacode

https://github.com/jch/html-pipeline/blob/af66272dc34e13f48fff97c3b7b42e64e82877f2/lib/html/pipeline/toc_filter.rb#L28-L64

@gjtorikian
Copy link
Owner

Old 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

No branches or pull requests

1 participant