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

Hash links with "&" are not converted the same way as github links #857

Closed
tannerlinsley opened this issue Feb 16, 2017 · 2 comments · Fixed by #1401
Closed

Hash links with "&" are not converted the same way as github links #857

tannerlinsley opened this issue Feb 16, 2017 · 2 comments · Fixed by #1401
Labels
category: headings L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@tannerlinsley
Copy link

On github markdown, a header like this one:

This & That Section

will write out an id like this: this--that-section

On markdown-loader, it writes out this-that-section

This breaks links that adhere to github markdowns syntax:

[This & That Section](#this--that-section)

Another example:

const marked = require("marked");

marked("# This & That Section");
// => '<h1 id="this-that-section">This &amp; That Section</h1>\n'`

Filed originally at peerigon/markdown-loader#17

@joshbruce
Copy link
Member

#984

@joshbruce
Copy link
Member

#981

@joshbruce joshbruce reopened this Jan 5, 2018
@joshbruce joshbruce added category: headings L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue labels Jan 5, 2018
@styfle styfle mentioned this issue Dec 20, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: headings L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants