diff --git a/GTG/core/tasks.py b/GTG/core/tasks.py index aa3b0522c..f867639a6 100644 --- a/GTG/core/tasks.py +++ b/GTG/core/tasks.py @@ -43,7 +43,7 @@ # REGEXES # ------------------------------------------------------------------------------ -TAG_REGEX = re.compile(r'^\B\@\w+(\-\w+)*\,*') +TAG_LINE_REGEX = re.compile(r'^\B\@\w+(\-\w+)*\,*.*') SUB_REGEX = re.compile(r'\{\!.+\!\}') @@ -308,7 +308,7 @@ def title(self, value) -> None: @GObject.Property(type=str) def excerpt(self) -> str: # Strip tags - txt = TAG_REGEX.sub('', self.content) + txt = TAG_LINE_REGEX.sub('', self.content) # Strip subtasks txt = SUB_REGEX.sub('', txt)