@@ -85,6 +85,7 @@ docHToBlocks d' =
8585 DocProperty s -> B.codeBlockWith ("",["property","haskell"],[]) (trim s)
8686 DocExamples es -> mconcat $ map (\e ->
8787 makeExample ">>>" (exampleExpression e) (exampleResult e)) es
88+#if MIN_VERSION_haddock_library(1,5,0)
8889 DocTable H.Table{ tableHeaderRows = headerRows
8990 , tableBodyRows = bodyRows
9091 }
@@ -97,6 +98,7 @@ docHToBlocks d' =
9798 colspecs = replicate (maximum (map length body))
9899 (AlignDefault, 0.0)
99100 in B.table mempty colspecs header body
101+#endif
100102
101103 where inlineFallback = B.plain $ docHToInlines False d'
102104 consolidatePlains = B.fromList . consolidatePlains' . B.toList