cl-html5-parser icon indicating copy to clipboard operation
cl-html5-parser copied to clipboard

Fix comment before main document node.

Open Ferada opened this issue 6 years ago • 0 comments

This should fix https://github.com/rotatef/cl-html5-parser/issues/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>
...

Ferada avatar Aug 15 '19 12:08 Ferada