diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-19 09:15:39 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-19 09:15:39 +0100 |
commit | da31280dd7c93499327e149af9679806d1a09e46 (patch) | |
tree | dd3e8a60b7feec44ffa6a14ad56c76d1747c45c7 /src/Text/Hakyll/Render | |
parent | 271e7a386d9f49c2e8125ab8f3cfb440efca7eb4 (diff) | |
download | hakyll-da31280dd7c93499327e149af9679806d1a09e46.tar.gz |
Unicode is a bitch.
I am leaving a character in one of the examples, so we would notice it
directly, should we ever break it again.
Diffstat (limited to 'src/Text/Hakyll/Render')
-rw-r--r-- | src/Text/Hakyll/Render/Internal.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Render/Internal.hs b/src/Text/Hakyll/Render/Internal.hs index b6810bb..d4c1697 100644 --- a/src/Text/Hakyll/Render/Internal.hs +++ b/src/Text/Hakyll/Render/Internal.hs @@ -16,7 +16,6 @@ import Data.List (isPrefixOf, foldl') import Data.Char (isAlpha) import Data.Maybe (fromMaybe) import Control.Parallel.Strategies (rdeepseq, ($|)) -import qualified System.IO.UTF8 as U import Text.Hakyll.Renderable import Text.Hakyll.Page @@ -90,6 +89,6 @@ writePage page = do context = additionalContext' `M.union` (M.singleton "root" $ toRoot url) makeDirectories destination -- Substitute $root here, just before writing. - liftIO $ U.writeFile destination $ finalSubstitute (getBody page) context + liftIO $ writeFile destination $ finalSubstitute (getBody page) context where url = getURL page |