Open hgoes opened 4 years ago
This fixes #13
@jinjor please merge this
(premise: thank you for writing this library, I appreciate that being an open source maintainer is a lot of work and people can have different priorities in life)
Do you expect you'll be able to merge this or should we fork the library?
The textString function discarded all text prior to an escaped character. Example:
XmlParser.parse """<t attr="ABCýDEF"/>"""
=>Ok { docType = Nothing, processingInstructions = [], root = Element "t" [{ name = "attr", value = "ýDEF" }] [] }
With the fix:
Ok { docType = Nothing, processingInstructions = [], root = Element "t" [{ name = "attr", value = "ABCýDEF" }] [] }