You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following document does not convert to the expected HTML5 output.
= Test
anchor:CO₂[]abc
I used the command asciidoctor --backend=html5 --out-file=out.html in.adoc.
According to the W3C Recommendation, the id attribute has to conform only to these rules:
Must contain at least one character.
Must not contain any space characters.
There are no other restrictions on what form an ID can take; in particular, IDs can consist of just digits, start with a digit, start with an underscore, consist of just punctuation, etc.
According to the W3C Recommendation, the id attribute has to conform only to these rules:
Yes, but HTML isn't the only output format for AsciiDoc. Using other characters would lead to invalid DocBook (and likely EPUB 3 too, which still conforms to XML rules in some versions and readers).
The following document does not convert to the expected HTML5 output.
= Test anchor:CO₂[]abc
I used the command
asciidoctor --backend=html5 --out-file=out.html in.adoc
.According to the W3C Recommendation, the
id
attribute has to conform only to these rules:But the output is:
I have similar results with
&
,%
,/
,→
and anchors starting with a digit. Please allow “special characters” in anchors.The text was updated successfully, but these errors were encountered: