Commits

David Chambers committed 24a90a4

Removed line which doubled up backslashes (it's not required after all).

  • Participants
  • Parent commits aa16841

Comments (0)

Files changed (1)

 
     def convert(self):
         body = re.sub(RE['\r\n?'], '\n', self.body) + '\n' # keep regular expressions as simple as possible
-        body = body.replace('\\', r'\\') # double up literal backslashes
 
         self.body = re.sub(RE['ref-style'], # e.g. Download the [icon set][1] {{ filesize }}.
                 lambda m: m.group(1) + print_filesize(id_to_path(m.group('id'), self.body), plaintext=True), self.body)