summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-25 11:55:03 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-25 11:55:03 +0100
commit4fa472250e9041f95dc21adefcfd70cfefd09bc2 (patch)
treee43be11018af8895df3b80047ddc44eb7b937ec1 /src
parentce2cef43509f7912089443c0a651cb334fd9bcc5 (diff)
downloadhakyll-4fa472250e9041f95dc21adefcfd70cfefd09bc2.tar.gz
Added some tests.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Hakyll/CompressCSS.hs1
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