Index: sasmodels/rst2html.py
===================================================================
--- sasmodels/rst2html.py (revision 6592f56e0e7b113bb232ebf8d0cb4c506d37fae4)
+++ sasmodels/rst2html.py (revision b217c71eb4946b935994265074fdaf992f34b66f)
@@ -141,8 +141,8 @@
assert replace_dollar(u"and $mid$ too") == u"and :math:`mid` too"
assert replace_dollar(u"$first$, $mid$, $last$") == u":math:`first`, :math:`mid`, :math:`last`"
- assert replace_dollar(ur"dollar\$ escape") == u"dollar$ escape"
- assert replace_dollar(ur"dollar \$escape\$ too") == u"dollar $escape$ too"
+ assert replace_dollar(u"dollar\\$ escape") == u"dollar$ escape"
+ assert replace_dollar(u"dollar \\$escape\\$ too") == u"dollar $escape$ too"
assert replace_dollar(u"spaces $in the$ math") == u"spaces :math:`in the` math"
- assert replace_dollar(ur"emb\ $ed$\ ed") == ur"emb\ :math:`ed`\ ed"
+ assert replace_dollar(u"emb\\ $ed$\\ ed") == u"emb\\ :math:`ed`\\ ed"
assert replace_dollar(u"$first$a") == u"$first$a"
assert replace_dollar(u"a$last$") == u"a$last$"