From dc597a8a68eff403d6e800a62ab93548adcc6f41 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 22 Dec 2010 11:48:08 -0800 Subject: Removed all dependencies on 'pretty' package. --- src/Text/Pandoc/Templates.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs index c8ddc3abf..b03e8c73f 100644 --- a/src/Text/Pandoc/Templates.hs +++ b/src/Text/Pandoc/Templates.hs @@ -72,7 +72,6 @@ import Text.ParserCombinators.Parsec import Control.Monad (liftM, when, forM) import System.FilePath import Data.List (intercalate, intersperse) -import Text.PrettyPrint (text, Doc) import Text.XHtml (primHtml, Html) import Data.ByteString.Lazy.UTF8 (ByteString, fromString) import Text.Pandoc.Shared (readDataFile) @@ -112,9 +111,6 @@ instance TemplateTarget ByteString where instance TemplateTarget Html where toTarget = primHtml -instance TemplateTarget Doc where - toTarget = text - -- | Renders a template renderTemplate :: TemplateTarget a => [(String,String)] -- ^ Assoc. list of values for variables -- cgit v1.2.3