From 2eba15c181639f893f647c45c7b43b352e14bc98 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 17 Mar 2018 08:17:57 -0700 Subject: More CSS around DocTable in Haddock reader. --- src/Text/Pandoc/Readers/Haddock.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3