diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2009-12-25 11:55:03 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2009-12-25 11:55:03 +0100 |
commit | 4fa472250e9041f95dc21adefcfd70cfefd09bc2 (patch) | |
tree | e43be11018af8895df3b80047ddc44eb7b937ec1 /src | |
parent | ce2cef43509f7912089443c0a651cb334fd9bcc5 (diff) | |
download | hakyll-4fa472250e9041f95dc21adefcfd70cfefd09bc2.tar.gz |
Added some tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Hakyll/CompressCSS.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Hakyll/CompressCSS.hs b/src/Text/Hakyll/CompressCSS.hs index 7f3ddc3..c8c4bcb 100644 --- a/src/Text/Hakyll/CompressCSS.hs +++ b/src/Text/Hakyll/CompressCSS.hs @@ -19,6 +19,7 @@ compressCSS = compressSeparators compressSeparators :: String -> String compressSeparators = subRegex' ";\\s*}" "}" . subRegex' "\\s*([{};:])\\s*" "\\1" + . subRegex' ";;*" ";" -- | Compresses all whitespace. compressWhitespace :: String -> String |