summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Core/Util
diff options
context:
space:
mode:
authorBergi <a.d.bergi@web.de>2018-03-07 17:17:00 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2018-03-07 17:17:00 +0100
commit157fef58b97527b05b0400ad98d9cbdd2a33a0f4 (patch)
tree9c2078021cb9bab3333021251a108f4971342f98 /lib/Hakyll/Core/Util
parent5dc0b60e6f607fada3d72566dcd1ca4cbfe14c4d (diff)
downloadhakyll-157fef58b97527b05b0400ad98d9cbdd2a33a0f4.tar.gz
Optimise CSS compression
Diffstat (limited to 'lib/Hakyll/Core/Util')
-rw-r--r--lib/Hakyll/Core/Util/String.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Core/Util/String.hs b/lib/Hakyll/Core/Util/String.hs
index 23bdd39..f848369 100644
--- a/lib/Hakyll/Core/Util/String.hs
+++ b/lib/Hakyll/Core/Util/String.hs
@@ -27,7 +27,7 @@ trim = reverse . trim' . reverse . trim'
--------------------------------------------------------------------------------
-- | A simple (but inefficient) regex replace funcion
replaceAll :: String -- ^ Pattern
- -> (String -> String) -- ^ Replacement (called on capture)
+ -> (String -> String) -- ^ Replacement (called on match)
-> String -- ^ Source string
-> String -- ^ Result
replaceAll pattern f source = replaceAll' source