--- a/mercurial/minirst.py Sun Aug 02 16:34:25 2009 +0200
+++ b/mercurial/minirst.py Sun Aug 02 17:17:17 2009 +0200
@@ -243,7 +243,10 @@
indent = ' ' * block['indent']
if block['type'] == 'margin':
return ''
- elif block['type'] in ('literal', 'section'):
+ elif block['type'] == 'literal':
+ indent += ' '
+ return indent + ('\n' + indent).join(block['lines'])
+ elif block['type'] == 'section':
return indent + ('\n' + indent).join(block['lines'])
elif block['type'] == 'definition':
term = indent + block['lines'][0]