diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index 663bcce2e..8ea1841eb 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -32,7 +32,7 @@ DokuWiki: {- [ ] Correct handling of Span - [ ] Don't generate
... + [ ] Implement nested blockquotes (currently only ever does one level) [ ] Don't generate lists using
    and
      [ ] Implement alignment of text in tables [ ] Implement comments @@ -150,7 +150,7 @@ blockToDokuWiki _ (CodeBlock (_,classes,_) str) = do blockToDokuWiki opts (BlockQuote blocks) = do contents <- blockListToDokuWiki opts blocks - return $ "
      " ++ contents ++ "
      " + return $ "> " ++ contents blockToDokuWiki opts (Table capt aligns _ headers rows') = do let alignStrings = map alignmentToString aligns diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 3e47ee7ee..b382c5120 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -45,9 +45,9 @@ There should be a hard line break\\ here. E-mail style: -
      This is a block quote. It is pretty short. -
      -
      Code in a block quote: +> This is a block quote. It is pretty short. + +> Code in a block quote: sub status { print "working"; @@ -59,10 +59,10 @@ A list: Nested block quotes: -
      nested -
      -
      nested -
      +> nested + +> nested + This should not be a block quote: 2 > 1. And a following paragraph. @@ -251,7 +251,7 @@ Multiple blocks with italics: contains seeds, crisp, pleasant to taste * **//orange//** orange fruit { orange code block } -
      orange block quote
      +> orange block quote Multiple definitions, tight: @@ -568,8 +568,8 @@ With an ampersand: http://example.com/?foo=1&bar=2 An e-mail address: [[mailto:nobody@nowhere.net|nobody@nowhere.net]] -
      Blockquoted: http://example.com/ -
      +> Blockquoted: http://example.com/ + Auto-links should not occur here: ''%%%%'' or here: @@ -599,9 +599,9 @@ If you want, you can indent every line, but you can also be lazy and just indent )) This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note.((This is //easier// to type. Inline notes may contain [[http://google.com|links]] and ''%%]%%'' verbatim characters, as well as [bracketed text]. )) -
      Notes can go in quotes.((In quote. +> Notes can go in quotes.((In quote. )) -
      + - And in list items.((In list.)) This paragraph should not be part of the note, as it is not indented.