diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-12-22 11:48:08 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-12-22 11:48:08 -0800 |
commit | dc597a8a68eff403d6e800a62ab93548adcc6f41 (patch) | |
tree | 4dfd6415cb87091ec41d4d4d483ec141807c6afe /src | |
parent | 8e9c490b0aa71423df5c0cfc7f9e09f5b0643c49 (diff) | |
download | pandoc-dc597a8a68eff403d6e800a62ab93548adcc6f41.tar.gz |
Removed all dependencies on 'pretty' package.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Templates.hs | 4 |
1 files changed, 0 insertions, 4 deletions
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 |