diff --git a/server/org_tools.py b/server/org_tools.py index 708796e..e9a53e3 100644 --- a/server/org_tools.py +++ b/server/org_tools.py @@ -64,7 +64,8 @@ Additionally, supports :selection, :comment and :tags expansions. You can look at `test_templates` for some specific examples. """ - py_template = re.sub(r'%[:]?([?\w]+)', r'{\1}', org_template) + # py_template = re.sub(r'%[:]?([?\w]+)', r'{\1}', org_template) + py_template = re.sub(r'[^\\]%[:]?([?\w]+)', r'{\1}', org_template) NOW = datetime.now() org_date = date2org(NOW)