From 0b486e867264c2bac02226766055b05d3c51de7e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 9 Sep 2018 13:11:53 -0700 Subject: Org writer: don't escape literal `_`, `^`. Org doesn't recognize these escapes. Closes #4882. --- src/Text/Pandoc/Writers/Org.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs index 1dd825b79..12a54fd71 100644 --- a/src/Text/Pandoc/Writers/Org.hs +++ b/src/Text/Pandoc/Writers/Org.hs @@ -109,7 +109,7 @@ escapeString = escapeStringUsing $ , ('\x2013',"--") , ('\x2019',"'") , ('\x2026',"...") - ] ++ backslashEscapes "^_" + ] isRawFormat :: Format -> Bool isRawFormat f = -- cgit v1.2.3