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