From 09323ec10f4213461cfc2712f3075673f681a3e2 Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Sun, 2 Nov 2014 07:48:18 +0800 Subject: parser: Try to parse definition lists right before text paragraphs --- haddock-library/src/Documentation/Haddock/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haddock-library/src') diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs index 94750ad4..6aa6ad10 100644 --- a/haddock-library/src/Documentation/Haddock/Parser.hs +++ b/haddock-library/src/Documentation/Haddock/Parser.hs @@ -213,11 +213,11 @@ paragraph :: Parser (DocH mod Identifier) paragraph = examples <|> skipSpace *> ( unorderedList <|> orderedList - <|> definitionList <|> birdtracks <|> codeblock <|> property <|> header + <|> definitionList <|> textParagraph ) -- cgit v1.2.3