changeset 30057 | a8ba9a23c893 |
parent 29661 | a181dbef8e7f |
child 41553 | eb14ab7db33e |
--- a/doc/hgmanpage.py Fri Oct 07 08:09:23 2016 -0400 +++ b/doc/hgmanpage.py Fri Oct 07 07:43:04 2016 -0400 @@ -288,10 +288,10 @@ text = node.astext() text = text.replace('\\','\\e') replace_pairs = [ - (u'-', ur'\-'), - (u'\'', ur'\(aq'), - (u'´', ur'\''), - (u'`', ur'\(ga'), + (u'-', u'\\-'), + (u"'", u'\\(aq'), + (u'´', u"\\'"), + (u'`', u'\\(ga'), ] for (in_char, out_markup) in replace_pairs: text = text.replace(in_char, out_markup)