/truncator.hs

haskell exercise

Primary LanguageHaskell

haskell exercise to write a function which truncates html to n characters while properly preserving HTML.

see TruncatorSpec.hs for examples