From 9c1ba49a05879bdae9be3b7cdb5ea830c823cc61 Mon Sep 17 00:00:00 2001 From: Mighty Byte Date: Sun, 25 Jul 2010 22:43:16 -0400 Subject: [PATCH] Fix compile error from new hexpat dependency. --- src/Text/Templating/Heist/Constants.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Templating/Heist/Constants.hs b/src/Text/Templating/Heist/Constants.hs index 58c75fc..aaba486 100644 --- a/src/Text/Templating/Heist/Constants.hs +++ b/src/Text/Templating/Heist/Constants.hs @@ -12,7 +12,7 @@ import Text.XML.Expat.Tree heistExpatOptions :: ParserOptions ByteString ByteString heistExpatOptions = defaultParserOptions { - parserEncoding = Just UTF8 + overrideEncoding = Just UTF8 , entityDecoder = Just (\k -> Map.lookup k htmlEntityLookupTable) }