diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index 523c4d180..0f62e98c3 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -275,9 +275,8 @@ definitionListItemToDokuWiki opts (label, items) = do isSimpleList :: Block -> Bool isSimpleList x = case x of - BulletList items -> all isSimpleListItem items - OrderedList (num, sty, _) items -> all isSimpleListItem items && - num == 1 && sty `elem` [DefaultStyle, Decimal] + BulletList items -> True + OrderedList (num, sty, _) items -> True DefinitionList items -> all isSimpleListItem $ concatMap snd items _ -> False diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 4b9d459c8..e881f3510 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -157,11 +157,10 @@ and using spaces: Multiple paragraphs: -
Item 1, graf one.
-Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
Item 2.
Item 3.
and now 3
-with a continuation
-