aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/Documentation/Haddock/Parser.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2014-11-02 07:48:18 +0800
committerSimon Hengel <sol@typeful.net>2014-11-03 09:30:46 +0800
commit09323ec10f4213461cfc2712f3075673f681a3e2 (patch)
treef6e9ffb17a96513cfac109a6a38f1ad716f827e5 /haddock-library/src/Documentation/Haddock/Parser.hs
parentae2900cf4f75096ed269523f8835a1cc6caa0053 (diff)
parser: Try to parse definition lists right before text paragraphs
Diffstat (limited to 'haddock-library/src/Documentation/Haddock/Parser.hs')
-rw-r--r--haddock-library/src/Documentation/Haddock/Parser.hs2
1 files changed, 1 insertions, 1 deletions
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
)