Index: usemod2trac/convert_usemod_to_trac.py =================================================================== --- usemod2trac.orig/convert_usemod_to_trac.py 2008-01-17 16:50:20.000000000 +0100 +++ usemod2trac/convert_usemod_to_trac.py 2008-01-17 16:52:29.000000000 +0100 @@ -65,6 +65,7 @@ nowiki_re = re.compile(r'(.*?)', re.IGNORECASE | re.DOTALL) code_re = re.compile(r'(.*?)', re.IGNORECASE | re.DOTALL) pre_re = re.compile(r'
(.*?)
', re.IGNORECASE | re.DOTALL) +spaces_re = re.compile(r'^ +(.*?)', re.IGNORECASE | re.DOTALL) def handle_multiline_markup(s): # The tag stores text with no markup @@ -73,6 +74,8 @@ s = code_re.sub(mo_group(1, store_pre), s) # The
 tag stores text with no {{{ markup }}}
     s = pre_re.sub(mo_group(1, store_pre), s)
+    # Beginning with spaces behaves like a 
, with no {{{ markup }}}
+    s = spaces_re.sub(mo_group(1, store_pre), s)
 
     s = re.sub(r'(?i)(.*?)', "'''\\1'''", s)
     s = re.sub(r'(?i)(.*?)', "''\\1''", s)