##// END OF EJS Templates
minirst: grab a byte, not an int, for the underline style
Augie Fackler -
r32525:043c147c default
parent child Browse files
Show More
@@ -356,7 +356,7 b' def findsections(blocks):'
356 len(block['lines']) == 2 and
356 len(block['lines']) == 2 and
357 encoding.colwidth(block['lines'][0]) == len(block['lines'][1]) and
357 encoding.colwidth(block['lines'][0]) == len(block['lines'][1]) and
358 _sectionre.match(block['lines'][1])):
358 _sectionre.match(block['lines'][1])):
359 block['underline'] = block['lines'][1][0]
359 block['underline'] = block['lines'][1][0:1]
360 block['type'] = 'section'
360 block['type'] = 'section'
361 del block['lines'][1]
361 del block['lines'][1]
362 return blocks
362 return blocks
General Comments 0
You need to be logged in to leave comments. Login now