!SafeNone NoneU html-entity;Decode HTML entities contained in the given text. Returns Left decodeErrorA on failure. The parser will do its best to explain the problem.4mapM_ T.putStrLn $ decode "Héllo w⊛rld!" Hllo w"rld!decode "&NonExistentEntity;"DLeft "entity: Failed reading: Unknown entity name NonExistentEntity"decode "�"=Left "entity: Failed reading: 100000000 is out of Char range"decode "�">Left "entity: Failed reading: 4294967295 is out of Char range" html-entityLike , except that if a decode error occurs, the original output is returned unmodified. Use if you're certain that your input is well-formed.=T.putStrLn $ decode' "W≐ll-formed inpu⊨"W"Pll-formed inpu"5T.putStrLn $ decode' "Utter n�ns&CurlyE;nse"Utter n�ns&CurlyE;nse html-entity6Encodes the input for use as text in an HTML document. will use named entities where possible, except for most symbols in the ASCII block, where it was deemed this would result in unnecessarily bloated output."T.putStrLn $ encode "Hllo wrld!"Héllo wörld!T.putStrLn $ encode "x "B8 y" x ≂̸ y T.putStrLn $ encode "\2534\6188"০ᠬ html-entityPartial . html-entityPartial .      *html-entity-0.1.1.0-EAy9A6Whmzs3em0pGYuA23Text.HTMLEntityText.HTMLEntity.TableText.HTMLEntity.Parserdecodedecode'encode decodePartial encodePartialnames entitiesMultientitiesSingle decodeParser encodeParser