diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-06-30 11:36:10 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-06-30 11:39:32 +0200 |
commit | 7c207c3051d233d99737c52bb86513d4033f69e9 (patch) | |
tree | a7b883aff64cc1a4385980a16c04d15c35a20bdd /test/Tests/Readers/Org | |
parent | c212886d2b117340d38f3e14c08a4d0480adb46f (diff) | |
download | pandoc-7c207c3051d233d99737c52bb86513d4033f69e9.tar.gz |
Org reader: respect export setting which disables entities
MathML-like entities, e.g., `\alpha`, can be disabled with the
`#+OPTION: e:nil` export setting.
Diffstat (limited to 'test/Tests/Readers/Org')
-rw-r--r-- | test/Tests/Readers/Org/Directive.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Directive.hs b/test/Tests/Readers/Org/Directive.hs index 9e571473b..6d3c1ac52 100644 --- a/test/Tests/Readers/Org/Directive.hs +++ b/test/Tests/Readers/Org/Directive.hs @@ -150,6 +150,12 @@ tests = ] =?> Pandoc nullMeta mempty + , "disable MathML-like entities" =: + T.unlines [ "#+OPTIONS: e:nil" + , "Icelandic letter: \\thorn" + ] =?> + para "Icelandic letter: \\thorn" + , "disable inclusion of todo keywords" =: T.unlines [ "#+OPTIONS: todo:nil" , "** DONE todo export" |