Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Fix comment before main document node.#28

Open
Ferada wants to merge 1 commit intorotatef:masterfrom
Ferada:fix-cxml-comments
Open

Fix comment before main document node.#28
Ferada wants to merge 1 commit intorotatef:masterfrom
Ferada:fix-cxml-comments

Conversation

@Ferada
Copy link

@Ferada Ferada commented Aug 15, 2019

This should fix #26.

(html5-parser:parse-html5 "<!doctype html><!-- hello, world! --><html></html>" :dom :cxml)

=>

#<DOCUMENT #x302001F13DFD>

...

All Slots:
[ ]  CHILDREN = #(#<RUNE-DOM::COMMENT #x302001F13C0D> #<ELEMENT html #x302001F13D3D>)
[ ]  DOC-TYPE = #<RUNE-DOM::DOCUMENT-TYPE #x302001F13EDD>
...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments before html or doctype.

1 participant