-
Notifications
You must be signed in to change notification settings - Fork 153
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
Allow parsing tag with namespace? #112
Comments
Indeed, it cannot.
Given all that together, it would be imho best if you can open an issue in the CommonMark spec repo. |
Yes, I've made a proposal here: commonmark/commonmark-spec#648 Regarding 3, we already support namespaced attributes, so one might consider it an oversight that namespaced tags are not also supported. |
Yes. There's no such thing as a "tag with a namespace" in HTML. The "tag name" tokenizer state consumes everything except |
@craigbarnes does that mean a tag name state can parse |
Yes, but All elements in a HTML DOM tree have a namespace, but it's determined by what nodes are higher up in the tree (e.g. |
It looks like this can't parse a tag with a namespace, e.g.
<foo:bar ...>
md4c/src/md4c.c
Lines 999 to 1004 in 25096c7
Can we allow it to parse tags with namespaces? i.e. allow
:
in the tag name.The text was updated successfully, but these errors were encountered: