diff options
author | Nicole Rauch <nicole.m@gmx.de> | 2016-08-15 00:05:19 +0200 |
---|---|---|
committer | Nicole Rauch <nicole.m@gmx.de> | 2016-08-15 00:05:19 +0200 |
commit | 9f850a9035c29de568fb61b9646f657f5935ab89 (patch) | |
tree | 689d57d7c1d02aeb8f7fe2817f599cd9417313d5 /src/Hakyll/Web | |
parent | ea0a8d5226f653dd37b6801f52dc5ad58f3a5809 (diff) | |
download | hakyll-9f850a9035c29de568fb61b9646f657f5935ab89.tar.gz |
Also trim whitespace around colons.
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r-- | src/Hakyll/Web/CompressCss.hs | 4 |
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. |