diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-09-09 13:11:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-09-09 13:11:53 -0700 |
commit | 0b486e867264c2bac02226766055b05d3c51de7e (patch) | |
tree | 79553a432d0f47260862c182061df32751c483e8 /src/Text/Pandoc | |
parent | 12cec8f08233ea5836af77aff27771b800a35ce7 (diff) | |
download | pandoc-0b486e867264c2bac02226766055b05d3c51de7e.tar.gz |
Org writer: don't escape literal `_`, `^`.
Org doesn't recognize these escapes.
Closes #4882.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Org.hs | 2 |
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 = |