HTMLEntities.Builder
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=\"\">"