From 9830a562f93005599e09964bcea79c901fb94bb4 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 3 Jun 2021 15:01:42 +0000 Subject: Different approach to explicit line breaks --- trac2md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trac2md.py b/trac2md.py index 4528b81..86c856f 100755 --- a/trac2md.py +++ b/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("
", content).splitlines() new_content = [] code_block = False -- cgit v1.2.3