summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Molteni <volothamp@gmail.com>2016-07-22 12:10:07 +0200
committerLuca Molteni <volothamp@gmail.com>2016-07-22 12:10:07 +0200
commitc0a4f3f05544cc2ee8f0d2424d9b7136d69e9fb8 (patch)
treef51441e191b4831d3bdb9c0ff7bda6df837878ec
parent72d2b11efe4580fd0632f1037e8b0dd04da2999a (diff)
downloadhakyll-c0a4f3f05544cc2ee8f0d2424d9b7136d69e9fb8.tar.gz
Fixes https://github.com/jaspervdj/hakyll/issues/323 we have less compression but we preserve correct CSS semantic
-rw-r--r--src/Hakyll/Web/CompressCss.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/CompressCss.hs b/src/Hakyll/Web/CompressCss.hs
index 0534b9f..58d52b4 100644
--- a/src/Hakyll/Web/CompressCss.hs
+++ b/src/Hakyll/Web/CompressCss.hs
@@ -35,7 +35,7 @@ compressCss = compressSeparators . stripComments . compressWhitespace
compressSeparators :: String -> String
compressSeparators =
replaceAll "; *}" (const "}") .
- replaceAll " *([{};:]) *" (take 1 . dropWhile isSpace) .
+ replaceAll " *([{};]) *" (take 1 . dropWhile isSpace) .
replaceAll ";+" (const ";")