Mercurial > hg
comparison doc/hgmanpage.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
93 .. | 93 .. |
94 """ | 94 """ |
95 | 95 |
96 | 96 |
97 class Writer(writers.Writer): | 97 class Writer(writers.Writer): |
98 | |
98 supported = 'manpage' | 99 supported = 'manpage' |
99 """Formats this writer supports.""" | 100 """Formats this writer supports.""" |
100 | 101 |
101 output = None | 102 output = None |
102 """Final translated form of `document`.""" | 103 """Final translated form of `document`.""" |
294 (u'-', u'\\-'), | 295 (u'-', u'\\-'), |
295 (u"'", u'\\(aq'), | 296 (u"'", u'\\(aq'), |
296 (u'´', u"\\'"), | 297 (u'´', u"\\'"), |
297 (u'`', u'\\(ga'), | 298 (u'`', u'\\(ga'), |
298 ] | 299 ] |
299 for in_char, out_markup in replace_pairs: | 300 for (in_char, out_markup) in replace_pairs: |
300 text = text.replace(in_char, out_markup) | 301 text = text.replace(in_char, out_markup) |
301 # unicode | 302 # unicode |
302 text = self.deunicode(text) | 303 text = self.deunicode(text) |
303 if self._in_literal: | 304 if self._in_literal: |
304 # prevent interpretation of "." at line start | 305 # prevent interpretation of "." at line start |