diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-27 15:05:13 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-27 15:05:13 -0700 |
commit | 7da913dbd77c8ccad4550d23ee176322e0593820 (patch) | |
tree | 18c903e76791aac976969b59ef7d0312ddd21529 /src/Tests | |
parent | 064af070da25bd9308b8ffb97cf3a0033368e4bb (diff) | |
download | pandoc-7da913dbd77c8ccad4550d23ee176322e0593820.tar.gz |
ConTeXt writer: don't escape `&`,`^`,`<`,`>`.
Simplified escapes for `}` and `{` to `\{` and `\}`.
Thanks to Aditya Mahajan.
Diffstat (limited to 'src/Tests')
-rw-r--r-- | src/Tests/Writers/ConTeXt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tests/Writers/ConTeXt.hs b/src/Tests/Writers/ConTeXt.hs index 506ff698f..beb6411f0 100644 --- a/src/Tests/Writers/ConTeXt.hs +++ b/src/Tests/Writers/ConTeXt.hs @@ -33,7 +33,7 @@ infix 4 =: tests :: [Test] tests = [ testGroup "inline code" - [ "with '}'" =: code "}" =?> "\\mono{\\letterclosebrace{}}" + [ "with '}'" =: code "}" =?> "\\mono{\\}}" , "without '}'" =: code "]" =?> "\\type{]}" , property "code property" $ \s -> null s || if '{' `elem` s || '}' `elem` s |