@@ -178,7 +178,7 @@ blockToDokuWiki _ (CodeBlock (_,classes,_) str) = do
178178blockToDokuWiki opts (BlockQuote blocks) = do
179179 contents <- blockListToDokuWiki opts blocks
180180 if isSimpleBlockQuote blocks
181− then return $ "> " ++ contents
181+ then return $ unlines $ map ("> " ++) $ lines contents
182182 else return $ "<HTML><blockquote>\n" ++ contents ++ "</blockquote></HTML>"
183183
184184blockToDokuWiki opts (Table capt aligns _ headers rows) = do
@@ -352,9 +352,7 @@ isPlainOrPara (Para _) = True
352352isPlainOrPara _ = False
353353
354354isSimpleBlockQuote :: [Block] -> Bool
355−isSimpleBlockQuote [BlockQuote bs] = isSimpleBlockQuote bs
356−isSimpleBlockQuote [b] = isPlainOrPara b
357−isSimpleBlockQuote _ = False
355+isSimpleBlockQuote bs = all isPlainOrPara bs
358356
359357-- | Concatenates strings with line breaks between them.
360358vcat :: [String] -> String