aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-09 13:11:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-09 13:11:53 -0700
commit0b486e867264c2bac02226766055b05d3c51de7e (patch)
tree79553a432d0f47260862c182061df32751c483e8 /src/Text/Pandoc/Writers
parent12cec8f08233ea5836af77aff27771b800a35ce7 (diff)
downloadpandoc-0b486e867264c2bac02226766055b05d3c51de7e.tar.gz
Org writer: don't escape literal `_`, `^`.
Org doesn't recognize these escapes. Closes #4882.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Org.hs2
1 files changed, 1 insertions, 1 deletions
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 =