aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPuneeth Chaganti <punchagan@gmail.com>2010-12-04 23:49:53 +0530
committerPuneeth Chaganti <punchagan@gmail.com>2010-12-04 23:49:53 +0530
commit4d48abcb12f11e05091669c462c2ac8248f4c7aa (patch)
tree8ca149077751e01761032bc2b4c3fe016fa7558a /src
parent921e2b6e67e0bcc0c6644b5455bf9d2e70f1a386 (diff)
downloadpandoc-4d48abcb12f11e05091669c462c2ac8248f4c7aa.tar.gz
Added tests.
+ Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Org.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs
index 32ae254cf..9285e9c55 100644
--- a/src/Text/Pandoc/Writers/Org.hs
+++ b/src/Text/Pandoc/Writers/Org.hs
@@ -107,7 +107,7 @@ titleToOrg [] = return empty
titleToOrg lst = do
contents <- inlineListToOrg lst
let titleName = text "#+TITLE: "
- return $ titleName $+$ contents
+ return $ titleName <> contents
-- | Convert Pandoc block element to Org.
blockToOrg :: Block -- ^ Block element