Browse Source

Different approach to explicit line breaks

Rob Austein 2 years ago
parent
commit
9830a562f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      trac2md.py

+ 1 - 1
trac2md.py

@@ -108,7 +108,7 @@ class Trac2Markdown:
     def __call__(self, content, slug):
         self.slug = slug
 
-        old_content = self.content_linebreak_pattern.sub("\\\\\\\\\n", content).splitlines()
+        old_content = self.content_linebreak_pattern.sub("<br/>", content).splitlines()
         new_content = []
 
         code_block = False