From 581fc0130b635123521471236cd7c391f8f260df Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Tue, 20 Sep 2016 09:44:35 -0400 Subject: LaTeX writer: change braced backtick to \textasciigrave{} Backticks in verbatim environments are converted to open-single-quotes. This change makes them appear as backticks. This corresponds to how we treat `'' in verbatim environments (with \textquotesingle{}). --- tests/Tests/Writers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Tests/Writers/LaTeX.hs b/tests/Tests/Writers/LaTeX.hs index afab7d628..3dacaacd5 100644 --- a/tests/Tests/Writers/LaTeX.hs +++ b/tests/Tests/Writers/LaTeX.hs @@ -76,6 +76,6 @@ tests = [ testGroup "code blocks" , "single quotes" =: code "dog's" =?> "\\texttt{dog\\textquotesingle{}s}" , "backtick" =: - code "`nu?`" =?> "\\texttt{{`}nu?{`}}" + code "`nu?`" =?> "\\texttt{\\textasciigrave{}nu?\\textasciigrave{}}" ] ] -- cgit v1.2.3