jinjor / elm-xml-parser

XML parser for Elm
http://package.elm-lang.org/packages/jinjor/elm-xml-parser/latest
BSD 3-Clause "New" or "Revised" License
21 stars 10 forks source link

Wrong parse of attributes containing ampersands #13

Open miniBill opened 4 years ago

miniBill commented 4 years ago

The attribute attr gets cut:

$ elm repl
> import XmlParser
> XmlParser.parse "<root attr=\"a&amp;b\"></root>"
Ok { docType = Nothing, processingInstructions = [], root = Element "root" [{ name = "attr", value = "&b" }] [] }
miniBill commented 1 year ago

In the end I forked onto https://github.com/miniBill/elm-xml-parser