From 614547b38eff096d5bcdd1fc97eadc8eab89028a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 9 Feb 2008 03:19:43 +0000 Subject: Use generic attributes type, not a string, for CodeBlocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1209 788f1e2b-df1e-0410-8736-df70ead52e1b --- Text/Pandoc/Readers/RST.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Text/Pandoc/Readers/RST.hs') diff --git a/Text/Pandoc/Readers/RST.hs b/Text/Pandoc/Readers/RST.hs index 85bc95fa3..76cfc8aa0 100644 --- a/Text/Pandoc/Readers/RST.hs +++ b/Text/Pandoc/Readers/RST.hs @@ -304,7 +304,7 @@ indentedBlock = do codeBlock = try $ do codeBlockStart result <- indentedBlock - return $ CodeBlock "" $ stripTrailingNewlines result + return $ CodeBlock ("",[],[]) $ stripTrailingNewlines result -- -- raw html -- cgit v1.2.3