-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello!
I was trying to parse some HTML code and noticed that comments fail to parse. For example:
> parseHTML "<html><body><p>I am a comment !</p><p>See me?</p></body></html>"
(Right (Element "html" (Nil) ((Element "body" (Nil) ((Element "p" (Nil) ((TextNode "I am a comment !" : Nil)) : Element "p" (Nil) ((TextNode "See me?" : Nil)) : Nil)) : Nil)) : Nil))
> parseHTML "<html><body><p>I am a <!-- comment --> !</p><p>See me?</p></body></html>"
(Left Expected EOF)
Is this correct behaviour? How should I specify comments to make them recognized?
I'm using the latest version I just pulled from this repository, with psci 0.10.2.
maackle
Metadata
Metadata
Assignees
Labels
No labels