Added test case for issue #186 (\$ in latex math).
This commit is contained in:
parent
136777e13c
commit
03d69daab6
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue