aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/XML.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-08-08 10:42:52 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-08-08 10:42:52 -0700
commit12e7ec40707bfb716bb9add82e4320558e065492 (patch)
tree12c6125683dadc91f33d76cf122e3fded9fff966 /src/Text/Pandoc/XML.hs
parent802dc9a8b9f206eb3be592ab19067f637eb2a3ee (diff)
downloadpandoc-12e7ec40707bfb716bb9add82e4320558e065492.tar.gz
Added Text.Pandoc.Compat.TagSoupEntity.
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch.
Diffstat (limited to 'src/Text/Pandoc/XML.hs')
-rw-r--r--src/Text/Pandoc/XML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/XML.hs b/src/Text/Pandoc/XML.hs
index 89ae81a10..c11af9a19 100644
--- a/src/Text/Pandoc/XML.hs
+++ b/src/Text/Pandoc/XML.hs
@@ -38,7 +38,7 @@ module Text.Pandoc.XML ( escapeCharForXML,
import Text.Pandoc.Pretty
import Data.Char (ord, isAscii, isSpace)
-import Text.HTML.TagSoup.Entity (lookupEntity)
+import Text.Pandoc.Compat.TagSoupEntity (lookupEntity)
-- | Escape one character as needed for XML.
escapeCharForXML :: Char -> String