tophat-1.0.5.1: Template-to-Haskell preprocessor, and templating language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Tophat.Text

Description

Some standard replacements for text

Synopsis

Documentation

literalNewlines :: Text -> Text Source #

Replace "n" with an actual newline

stripNewlines :: Text -> Text Source #

Remove newlines

stripAroundNewlines :: Text -> Text Source #

Remove newlines, and whitespace around them