From 2f6ab150cb8295e99475afdf3e0aaf28de5fc274 Mon Sep 17 00:00:00 2001 From: hiro98 Date: Sun, 3 May 2020 10:32:11 +0200 Subject: [PATCH] really substitute the *'s :) --- convert.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/convert.py b/convert.py index adb79d2..016c807 100755 --- a/convert.py +++ b/convert.py @@ -15,9 +15,7 @@ def _format_org_date(date): def sanitize_text(text): star_re = re.compile(r"^\*+", flags=re.MULTILINE) - star_re.sub("+", text) - - return text + return star_re.sub(" +", text) class OrgWriter: