summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-06-03 15:01:42 +0000
committerRob Austein <sra@hactrn.net>2021-06-03 15:09:14 +0000
commit9830a562f93005599e09964bcea79c901fb94bb4 (patch)
tree63a8d7608bdfe5832cbb256d3d054cbb5f0073bc
parent838f9cf8b78dc561c508e0ed37b1373811fece20 (diff)
Different approach to explicit line breaks
-rwxr-xr-xtrac2md.py2
1 files changed, 1 insertions, 1 deletions
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("<br/>", content).splitlines()
new_content = []
code_block = False