diff options
-rw-r--r-- | src/Text/Pandoc/Writers/ConTeXt.hs | 1 | ||||
-rw-r--r-- | tests/writer.context | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs index d6fc516a5..4514199b5 100644 --- a/src/Text/Pandoc/Writers/ConTeXt.hs +++ b/src/Text/Pandoc/Writers/ConTeXt.hs @@ -104,7 +104,6 @@ escapeCharForConTeXt opts ch = '>' -> "\\lettermore{}" '[' -> "{[}" ']' -> "{]}" - '_' -> "\\letterunderscore{}" '\160' -> "~" '\x2014' | ligatures -> "---" '\x2013' | ligatures -> "--" diff --git a/tests/writer.context b/tests/writer.context index 7f8d8a115..0a163d2b0 100644 --- a/tests/writer.context +++ b/tests/writer.context @@ -717,7 +717,7 @@ Backtick: ` Asterisk: * -Underscore: \letterunderscore{} +Underscore: _ Left brace: \letteropenbrace{} @@ -761,7 +761,7 @@ Just a \useURL[url4][/url/][][URL]\from[url4]. \useURL[url9][/url/][][URL and title]\from[url9] -\useURL[url10][/url/with_underscore][][with\letterunderscore{}underscore]\from[url10] +\useURL[url10][/url/with_underscore][][with_underscore]\from[url10] \useURL[url11][mailto:nobody@nowhere.net][][Email link]\from[url11] |