Added test case for issue #186 (\$ in latex math).

This commit is contained in:
John MacFarlane 2012-02-07 19:24:09 -08:00
parent 136777e13c
commit 03d69daab6

View file

@ -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"