summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicole Rauch <nicole.m@gmx.de>2016-08-15 00:05:19 +0200
committerNicole Rauch <nicole.m@gmx.de>2016-08-15 00:05:19 +0200
commit9f850a9035c29de568fb61b9646f657f5935ab89 (patch)
tree689d57d7c1d02aeb8f7fe2817f599cd9417313d5 /src
parentea0a8d5226f653dd37b6801f52dc5ad58f3a5809 (diff)
downloadhakyll-9f850a9035c29de568fb61b9646f657f5935ab89.tar.gz
Also trim whitespace around colons.
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Web/CompressCss.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Web/CompressCss.hs b/src/Hakyll/Web/CompressCss.hs
index 239c383..0371d8b 100644
--- a/src/Hakyll/Web/CompressCss.hs
+++ b/src/Hakyll/Web/CompressCss.hs
@@ -39,8 +39,8 @@ compressSeparators str
| otherwise = head str : compressSeparators (drop 1 str)
where
isConstant = or $ map (isOfPrefix str) ["\"", "'"]
- stripFirst = or $ map (isOfPrefix str) [" ", " {", " }", ";;", ";}"]
- stripSecond = or $ map (isOfPrefix str) ["{ ", "} ", "; "]
+ stripFirst = or $ map (isOfPrefix str) [" ", " {", " }", " :", ";;", ";}"]
+ stripSecond = or $ map (isOfPrefix str) ["{ ", "} ", ": ", "; "]
--------------------------------------------------------------------------------
-- | Compresses all whitespace.