diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 10:42:52 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 10:42:52 -0700 |
commit | 12e7ec40707bfb716bb9add82e4320558e065492 (patch) | |
tree | 12c6125683dadc91f33d76cf122e3fded9fff966 /src/Text/Pandoc/XML.hs | |
parent | 802dc9a8b9f206eb3be592ab19067f637eb2a3ee (diff) | |
download | pandoc-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.hs | 2 |
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 |