parent
3f2dd98f45
commit
7a97369d01
1 changed files with 2 additions and 2 deletions
|
@ -905,10 +905,10 @@ ordered_list = do
|
|||
|
||||
paragraph :: LP Blocks
|
||||
paragraph = do
|
||||
x <- mconcat <$> many1 inline
|
||||
x <- trimInlines . mconcat <$> many1 inline
|
||||
if x == mempty
|
||||
then return mempty
|
||||
else return $ para $ trimInlines x
|
||||
else return $ para x
|
||||
|
||||
preamble :: LP Blocks
|
||||
preamble = mempty <$> manyTill preambleBlock beginDoc
|
||||
|
|
Loading…
Add table
Reference in a new issue