diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-07-01 09:17:42 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-07-01 09:28:24 +0200 |
commit | ccf9889c2c5839166be4296944c45447474f2a33 (patch) | |
tree | 2f78882a6e0d4f646fd331e57251624e031a3995 /test/Tests | |
parent | d6711bd7d98d69541e8617236c2f2c358dd67307 (diff) | |
download | pandoc-ccf9889c2c5839166be4296944c45447474f2a33.tar.gz |
Org reader: respect tables-excluding export setting
Tables can be removed from the final document with the `#+OPTION:
|:nil` export setting.
Diffstat (limited to 'test/Tests')
-rw-r--r-- | test/Tests/Readers/Org/Directive.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Directive.hs b/test/Tests/Readers/Org/Directive.hs index e92b1bbb9..ba012a69f 100644 --- a/test/Tests/Readers/Org/Directive.hs +++ b/test/Tests/Readers/Org/Directive.hs @@ -280,6 +280,14 @@ tests = headerWith ("wichtig", mempty, mempty) 1 "Wichtig" ] + , testGroup "Option |" + [ "disable export of tables" =: + T.unlines [ "#+OPTIONS: |:nil" + , "| chair |" + ] =?> + (mempty :: Blocks) + ] + , testGroup "unknown options" [ "unknown options are ignored" =: T.unlines [ "#+OPTIONS: does-not-exist:t "] =?> |