aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-06-28 18:23:25 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2020-06-28 19:25:57 +0200
commitd2d5eb8a993553eb5d1b9b9ca7863638864dde7e (patch)
treef824195d8fed3454ab94a9158176e86dd5f438c0 /test/Tests/Readers
parentb7a8620b43b8e73ef3be42f607dd7f46e9027634 (diff)
downloadpandoc-d2d5eb8a993553eb5d1b9b9ca7863638864dde7e.tar.gz
Org reader: read `#+INSTITUTE` values as text with markup
The value is stored in the `institute` metadata field and used in the default beamer presentation template.
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Org/Meta.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Meta.hs b/test/Tests/Readers/Org/Meta.hs
index 3852e676d..c811f2363 100644
--- a/test/Tests/Readers/Org/Meta.hs
+++ b/test/Tests/Readers/Org/Meta.hs
@@ -133,6 +133,10 @@ tests =
inclList = MetaList [MetaInlines (toList html)]
meta = setMeta "header-includes" inclList nullMeta
in Pandoc meta mempty
+
+ , "Institute" =:
+ "#+INSTITUTE: ACME Inc." =?>
+ Pandoc (setMeta "institute" ("ACME Inc." :: Inlines) nullMeta) mempty
]
, "Properties drawer" =: