diff options
author | Bergi <a.d.bergi@web.de> | 2018-03-07 17:17:00 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2018-03-07 17:17:00 +0100 |
commit | 157fef58b97527b05b0400ad98d9cbdd2a33a0f4 (patch) | |
tree | 9c2078021cb9bab3333021251a108f4971342f98 /lib/Hakyll/Core/Util | |
parent | 5dc0b60e6f607fada3d72566dcd1ca4cbfe14c4d (diff) | |
download | hakyll-157fef58b97527b05b0400ad98d9cbdd2a33a0f4.tar.gz |
Optimise CSS compression
Diffstat (limited to 'lib/Hakyll/Core/Util')
-rw-r--r-- | lib/Hakyll/Core/Util/String.hs | 2 |
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 |