LaTeX writer: Don't escape $ in URL. Closes #1913.

This commit is contained in:
John MacFarlane 2015-02-01 11:19:55 -08:00
parent 6a0d4da382
commit 7050c26abc

View file

@ -206,7 +206,7 @@ stringToLaTeX ctx (x:xs) = do
'€' -> "\\euro{}" ++ rest
'{' -> "\\{" ++ rest
'}' -> "\\}" ++ rest
'$' -> "\\$" ++ rest
'$' | not isUrl -> "\\$" ++ rest
'%' -> "\\%" ++ rest
'&' -> "\\&" ++ rest
'_' | not isUrl -> "\\_" ++ rest