-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
A link containing # in a header #3
Comments
Ah, yeah, that is definitely a bug. I'm on it. |
sweet, thanks! |
fixed 2c21b61 |
also, this should now match the exact behavior of the original markdown. it was something that wasn't included in the test suite. |
awesome! now i can generate clean html with fewer hacks. |
tommie
added a commit
to tommie/marked
that referenced
this issue
Sep 25, 2014
HTML5 Start tags can contain "one or more space characters" (8.1.2.1 markedjs#3). A "space character" is space, tab, LF, FF or CR (2.4.1). This change makes marked support any Unicode white space in tags by restricting the autolink to not contain any /\s/ character. It is slightly more permissive than the HTML5 standard, but that is unlikely to be a problem in practice.
tommie
added a commit
to tommie/marked
that referenced
this issue
Sep 25, 2014
HTML5 Start tags can contain "one or more space characters" (8.1.2.1 markedjs#3). A "space character" is space, tab, LF, FF or CR (2.4.1). This change makes marked support any Unicode white space in tags by restricting the autolink to not contain any /\s/ character. It is slightly more permissive than the HTML5 standard, but that is unlikely to be a problem in practice.
gibson042
pushed a commit
to gibson042/marked
that referenced
this issue
Oct 20, 2017
Document the xhtml option
tommie
added a commit
to tommie/marked
that referenced
this issue
Jan 22, 2018
HTML5 Start tags can contain "one or more space characters" (8.1.2.1 markedjs#3). A "space character" is space, tab, LF, FF or CR (2.4.1). This change makes marked support any Unicode white space in tags by restricting the autolink to not contain any /\s/ character. It is slightly more permissive than the HTML5 standard, but that is unlikely to be a problem in practice.
6 tasks
vagra
referenced
this issue
in vagra/marked
Oct 31, 2020
vagra
referenced
this issue
in vagra/marked
Nov 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure whether this is a bug in marked or a symbol I need to escape, but parsing:
results in a new paragraph starting and the header ending on the # in #/bla and doesn't give me a link (to #/bla) in the header.
Thanks for marked, I'm using it in coffeekup in a zappa project and it's awesome to parse markdown so easily.
The text was updated successfully, but these errors were encountered: