summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/CompressCSS.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Hakyll/CompressCSS.hs')
-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