diff options
author | Luca Molteni <volothamp@gmail.com> | 2016-07-22 12:10:07 +0200 |
---|---|---|
committer | Luca Molteni <volothamp@gmail.com> | 2016-07-22 12:10:07 +0200 |
commit | c0a4f3f05544cc2ee8f0d2424d9b7136d69e9fb8 (patch) | |
tree | f51441e191b4831d3bdb9c0ff7bda6df837878ec | |
parent | 72d2b11efe4580fd0632f1037e8b0dd04da2999a (diff) | |
download | hakyll-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.hs | 2 |
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 ";") |