Merge pull request #446 from lucamolteni/master

Fixes https://github.com/jaspervdj/hakyll/issues/323
This commit is contained in:
Jasper Van der Jeugt 2016-07-22 12:39:54 +02:00 committed by GitHub
commit 9b8a225718

View file

@ -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 ";")