comparison mercurial/minirst.py @ 26781:1aee2ab0f902

spelling: trivial spell checking
author Mads Kiilerich <madski@unity3d.com>
date Sat, 17 Oct 2015 00:58:46 +0200
parents 4b0fc75f9403
children 1d7e824ad093
comparison
equal deleted inserted replaced
26780:bbf544b5f2e9 26781:1aee2ab0f902
513 hangindent=defindent)) 513 hangindent=defindent))
514 subindent = indent 514 subindent = indent
515 if block['type'] == 'bullet': 515 if block['type'] == 'bullet':
516 if block['lines'][0].startswith('| '): 516 if block['lines'][0].startswith('| '):
517 # Remove bullet for line blocks and add no extra 517 # Remove bullet for line blocks and add no extra
518 # indention. 518 # indentation.
519 block['lines'][0] = block['lines'][0][2:] 519 block['lines'][0] = block['lines'][0][2:]
520 else: 520 else:
521 m = _bulletre.match(block['lines'][0]) 521 m = _bulletre.match(block['lines'][0])
522 subindent = indent + m.end() * ' ' 522 subindent = indent + m.end() * ' '
523 elif block['type'] == 'field': 523 elif block['type'] == 'field':