aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-17 08:17:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-17 08:18:15 -0700
commit2eba15c181639f893f647c45c7b43b352e14bc98 (patch)
treedf44494bd6587d47a2e448d1599df03ce850120b /src/Text/Pandoc/Readers
parent8a5b3368b2176b624ea6864eeabed3e20c59a868 (diff)
downloadpandoc-2eba15c181639f893f647c45c7b43b352e14bc98.tar.gz
More CSS around DocTable in Haddock reader.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Haddock.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Haddock.hs b/src/Text/Pandoc/Readers/Haddock.hs
index d3531dd03..65fcc5dba 100644
--- a/src/Text/Pandoc/Readers/Haddock.hs
+++ b/src/Text/Pandoc/Readers/Haddock.hs
@@ -147,7 +147,9 @@ docHToInlines isCode d' =
DocAName s -> B.spanWith (s,["anchor"],[]) mempty
DocProperty _ -> mempty
DocExamples _ -> mempty
+#if MIN_VERSION_haddock_library(1,5,0)
DocTable _ -> mempty
+#endif
-- | Create an 'Example', stripping superfluous characters as appropriate
makeExample :: String -> String -> [String] -> Blocks