doc/hgmanpage.py
changeset 51696 7f0cb9ee0534
parent 51686 493034cc3265
child 51699 ca7bde5dbafb
--- a/doc/hgmanpage.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/doc/hgmanpage.py	Tue Jul 23 10:02:46 2024 +0200
@@ -95,6 +95,7 @@
 
 
 class Writer(writers.Writer):
+
     supported = 'manpage'
     """Formats this writer supports."""
 
@@ -296,7 +297,7 @@
             (u'ยด', u"\\'"),
             (u'`', u'\\(ga'),
         ]
-        for in_char, out_markup in replace_pairs:
+        for (in_char, out_markup) in replace_pairs:
             text = text.replace(in_char, out_markup)
         # unicode
         text = self.deunicode(text)