html-entities-1.1.4.1: A codec library for HTML-escaped text and HTML-entities
HTMLEntities.Text
Synopsis
char :: Char -> Text Source #
HTML-encodes the given char.
text :: Text -> Text Source #
HTML-encodes the given text.
>>> Data.Text.IO.putStrLn $ text "<a href=\"\">" <a href="">
>>>
Data.Text.IO.putStrLn $ text "<a href=\"\">"