From 7da913dbd77c8ccad4550d23ee176322e0593820 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 27 Jun 2012 15:05:13 -0700 Subject: ConTeXt writer: don't escape `&`,`^`,`<`,`>`. Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan. --- src/Tests/Writers/ConTeXt.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Tests') 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 -- cgit v1.2.3