##// END OF EJS Templates
minirst: use bytes.strip instead of str.strip...
Pulkit Goyal -
r31340:ff25b89a default
parent child Browse files
Show More
@@ -549,7 +549,7 b' def formatblock(block, width):'
549 elif block['type'] == 'option':
549 elif block['type'] == 'option':
550 return formatoption(block, width)
550 return formatoption(block, width)
551
551
552 text = ' '.join(map(str.strip, block['lines']))
552 text = ' '.join(map(bytes.strip, block['lines']))
553 return util.wrap(text, width=width,
553 return util.wrap(text, width=width,
554 initindent=indent,
554 initindent=indent,
555 hangindent=subindent) + '\n'
555 hangindent=subindent) + '\n'
General Comments 0
You need to be logged in to leave comments. Login now