mirror of
https://github.com/vale981/wunderlist-to-org
synced 2025-03-04 16:51:39 -05:00
do not remove tags from titles
This commit is contained in:
parent
d01516f69b
commit
aeba097362
1 changed files with 2 additions and 2 deletions
|
@ -192,9 +192,9 @@ def convert_wunderlist_person(person):
|
|||
|
||||
|
||||
def convert_wunderlist_title(title):
|
||||
tag_re = re.compile(r"#(.*?(?:\s|$))", re.MULTILINE)
|
||||
tag_re = re.compile(r"#(.*?(?:\s+|$))", re.MULTILINE)
|
||||
tags = [tag[:-1] for tag in tag_re.findall(title)]
|
||||
title = tag_re.sub("", title)
|
||||
title = tag_re.sub(r"\1", title)
|
||||
|
||||
return title, tags
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue