From 4fa472250e9041f95dc21adefcfd70cfefd09bc2 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 25 Dec 2009 11:55:03 +0100 Subject: Added some tests. --- src/Text/Hakyll/CompressCSS.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3