Switch to side-by-side view
--- a/Allura/allura/lib/helpers.py +++ b/Allura/allura/lib/helpers.py @@ -956,6 +956,9 @@ if preserve_multiple_spaces: text = text.replace('\t', ' ' * 4) text = re_preserve_spaces.sub(' ', text) + else: + text = re_leading_spaces.sub('', text) + try: # try to use html2text for most of the escaping import html2text html2text.BODY_WIDTH = 0