|author||Albert Krewinkel <email@example.com>||2016-08-29 14:10:58 +0200|
|committer||Albert Krewinkel <firstname.lastname@example.org>||2016-08-29 14:35:16 +0200|
Org reader: respect `creator` export option
The `creator` option controls whether the creator meta-field should be included in the final markup. Setting `#+OPTIONS: creator:nil` will drop the creator field from the final meta-data output. Org-mode recognizes the special value `comment` for this field, causing the creator to be included in a comment. This is difficult to translate to Pandoc internals and is hence interpreted the same as other truish values (i.e. the meta field is kept if it's present).
Diffstat (limited to 'tests/Tests/Readers/Org.hs')
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 5191f63d5..d6e7bba22 100644
@@ -675,6 +675,12 @@ tests =
Pandoc nullMeta mempty
+ , "disable creator export" =:
+ unlines [ "#+OPTIONS: creator:nil"
+ , "#+creator: The Architect"
+ ] =?>
+ Pandoc nullMeta mempty
, "disable email export" =:
unlines [ "#+OPTIONS: email:nil"
, "#+email: email@example.com"