aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Org/Meta.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Meta.hs b/test/Tests/Readers/Org/Meta.hs
index c811f2363..89cd35b26 100644
--- a/test/Tests/Readers/Org/Meta.hs
+++ b/test/Tests/Readers/Org/Meta.hs
@@ -93,6 +93,13 @@ tests =
in Pandoc meta mempty
]
+ , "Subtitle" =:
+ T.unlines [ "#+SUBTITLE: Your Life in"
+ , "#+SUBTITLE: /Plain/ Text"
+ ] =?>
+ let subtitle = "Your Life in" <> softbreak <> emph "Plain" <> " Text"
+ in Pandoc (setMeta "subtitle" (toMetaValue subtitle) nullMeta) mempty
+
, "Keywords" =:
T.unlines [ "#+KEYWORDS: pandoc, testing,"
, "#+KEYWORDS: Org"