aboutsummaryrefslogtreecommitdiff
path: root/test/command/4284.md
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2018-10-05 22:21:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-05 22:21:20 -0700
commite257b54124f69682c237a5c9a5f99c5c72406c88 (patch)
treed279729491d6ede26760b9530f6a80749b8dd10e /test/command/4284.md
parent6207bdeb681142e9fa3731e6e0ee7fa8e6c120f5 (diff)
downloadpandoc-e257b54124f69682c237a5c9a5f99c5c72406c88.tar.gz
Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951)
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags.
Diffstat (limited to 'test/command/4284.md')
-rw-r--r--test/command/4284.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/4284.md b/test/command/4284.md
index e2a41d14f..eddd1b03a 100644
--- a/test/command/4284.md
+++ b/test/command/4284.md
@@ -22,6 +22,17 @@
```
% pandoc -f org -t native
+#+EXCLUDE_TAGS: giraffe
+#+EXCLUDE_TAGS: hippo
+* This should not appear :giraffe:
+* This should not appear :hippo:
+* This should appear :noexport:
+^D
+[Header 1 ("this-should-appear",[],[]) [Str "This",Space,Str "should",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
+```
+
+```
+% pandoc -f org -t native
#+EXCLUDE_TAGS:
* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
^D