I’m looking to take a string containing html character entities such as etc and replace them with the literal string characters. I’m getting data via twitter’s api and the text contains those entities. Anyone know of an existing library which does this?
Thanks for your help!
The Web.Encodings package on hackage looks promising (the decodeHtml function):
http://hackage.haskell.org/packages/archive/web-encodings/0.3.0.2/doc/html/Web-Encodings.html