diff --git a/files/classes/user.py b/files/classes/user.py index 26d4e6f2ac..890cbaa8c4 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1215,4 +1215,4 @@ class User(Base): @property @lazy def phrase_regex(self): - return re.compile(f"
[^<>]*{self.agendaposter_phrase}[^<>]*<\/p>") + return re.compile(f"
[^<>]*{self.agendaposter_phrase}[^<>]*<\/p>(?![^<]*<\/)")