##// END OF EJS Templates
minirst: removed unnecessary initindent variable
Martin Geisler -
r10937:a9d5943d default
parent child Browse files
Show More
@@ -289,7 +289,7 b' def formatblock(block, width):'
289 return "%s\n%s" % (term, textwrap.fill(text, width=width,
289 return "%s\n%s" % (term, textwrap.fill(text, width=width,
290 initial_indent=defindent,
290 initial_indent=defindent,
291 subsequent_indent=defindent))
291 subsequent_indent=defindent))
292 initindent = subindent = indent
292 subindent = indent
293 if block['type'] == 'bullet':
293 if block['type'] == 'bullet':
294 if block['lines'][0].startswith('| '):
294 if block['lines'][0].startswith('| '):
295 # Remove bullet for line blocks and add no extra
295 # Remove bullet for line blocks and add no extra
@@ -321,7 +321,7 b' def formatblock(block, width):'
321
321
322 text = ' '.join(map(str.strip, block['lines']))
322 text = ' '.join(map(str.strip, block['lines']))
323 return textwrap.fill(text, width=width,
323 return textwrap.fill(text, width=width,
324 initial_indent=initindent,
324 initial_indent=indent,
325 subsequent_indent=subindent)
325 subsequent_indent=subindent)
326
326
327
327
General Comments 0
You need to be logged in to leave comments. Login now