From 03d69daab6e9d0a683bef4376b6eca8e2d0adae6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Feb 2012 19:24:09 -0800 Subject: Added test case for issue #186 (\$ in latex math). --- src/Tests/Readers/LaTeX.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/Tests/Readers/LaTeX.hs b/src/Tests/Readers/LaTeX.hs index 6401fdba5..cb8ddefa6 100644 --- a/src/Tests/Readers/LaTeX.hs +++ b/src/Tests/Readers/LaTeX.hs @@ -41,6 +41,11 @@ tests = [ testGroup "basic" header 1 ("text" <> space <> link "/url" "" "link") ] + , testGroup "math" + [ "escaped $" =: + "$x=\\$4" =?> para (math "x=\\$4") + ] + , testGroup "space and comments" [ "blank lines + space at beginning" =: "\n \n hi" =?> para "hi" -- cgit v1.2.3