diff options
author | Rob Austein <sra@hactrn.net> | 2021-06-03 15:01:42 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2021-06-03 15:09:14 +0000 |
commit | 9830a562f93005599e09964bcea79c901fb94bb4 (patch) | |
tree | 63a8d7608bdfe5832cbb256d3d054cbb5f0073bc | |
parent | 838f9cf8b78dc561c508e0ed37b1373811fece20 (diff) |
Different approach to explicit line breaks
-rwxr-xr-x | trac2md.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |