We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Marked version: 4.0.17 or master
Describe the bug When a html tag (tested with br and hr) is followed by a line with link , the link is rendered as is (not converted to a tag)
br
hr
a
To Reproduce Steps to reproduce the behavior:
Marked: https://marked.js.org/demo/?text=%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)%20%0A&options=%7B%0A%20%0A%7D&version=master
Dingus: https://spec.commonmark.org/dingus/?text=%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)%20%0A%0A
Showdow: http://demo.showdownjs.com/#!/%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)
Expected behavior The markdown link should be rendered as html
While dingus also not renders, this is not expected as a user POV. Showdown renders as html
The text was updated successfully, but these errors were encountered:
Marked follows CommonMark. Markdown inside an html block is rendered as html not markdown. If you add a blank line below the html tag it will work.
Sorry, something went wrong.
Thanks
Created an issue in the editor that created the markdown: nhn/tui.editor#2586
No branches or pull requests
Marked version:
4.0.17 or master
Describe the bug
When a html tag (tested with
br
andhr
) is followed by a line with link , the link is rendered as is (not converted toa
tag)To Reproduce
Steps to reproduce the behavior:
Marked: https://marked.js.org/demo/?text=%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)%20%0A&options=%7B%0A%20%0A%7D&version=master
Dingus: https://spec.commonmark.org/dingus/?text=%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)%20%0A%0A
Showdow: http://demo.showdownjs.com/#!/%23%20Hello%0A%0AText%0A%0A%3Cbr%3E%0AHello%20%5Blink%5D(https%3A%2F%2Fmarked.js.org%2F)
Expected behavior
The markdown link should be rendered as html
While dingus also not renders, this is not expected as a user POV.
Showdown renders as html
The text was updated successfully, but these errors were encountered: