I'm writing a parser in Haskell for the site using the packages Text.XML and Text.XML.Cursor.
There are unclosed tags and get an error:
Main.hs: Error parsing XML file dat.html: 29:1-29:8: Expected end element for: Name {nameLocalName = "br", nameNamespace = Nothing, namePrefix = Nothing}, but received: EventEndElement (Name {nameLocalName = "body", nameNamespace = Nothing, namePrefix = Nothing})
What to do? How to ignore such tags?