From 7c207c3051d233d99737c52bb86513d4033f69e9 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Tue, 30 Jun 2020 11:36:10 +0200 Subject: Org reader: respect export setting which disables entities MathML-like entities, e.g., `\alpha`, can be disabled with the `#+OPTION: e:nil` export setting. --- test/Tests/Readers/Org/Directive.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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" -- cgit v1.2.3