Show More
@@ -266,7 +266,8 b' def makeitemsdoc(ui, topic, doc, marker,' | |||||
266 | continue |
|
266 | continue | |
267 | text = gettext(text) |
|
267 | text = gettext(text) | |
268 | if dedent: |
|
268 | if dedent: | |
269 |
|
|
269 | # Abuse latin1 to use textwrap.dedent() on bytes. | |
|
270 | text = textwrap.dedent(text.decode('latin1')).encode('latin1') | |||
270 | lines = text.splitlines() |
|
271 | lines = text.splitlines() | |
271 | doclines = [(lines[0])] |
|
272 | doclines = [(lines[0])] | |
272 | for l in lines[1:]: |
|
273 | for l in lines[1:]: |
General Comments 0
You need to be logged in to leave comments.
Login now