aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/Readers/RST.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Text/Pandoc/Readers/RST.hs')
-rw-r--r--Text/Pandoc/Readers/RST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Text/Pandoc/Readers/RST.hs b/Text/Pandoc/Readers/RST.hs
index 30d867e38..85bc95fa3 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