diff --git a/data/spot.py b/data/spot.py index c53da15..1c12b40 100644 --- a/data/spot.py +++ b/data/spot.py @@ -283,21 +283,21 @@ class Spot: activity = self.activity_refs[0].activity.upper() regex = get_ref_regex_for_activity(activity) if regex: - all_comment_ref_matches = re.finditer(r"(^|\W)(" + regex + r")($|\W)", self.comment, re.IGNORECASE) + all_comment_ref_matches = re.finditer(r"(? - + diff --git a/templates/alerts.html b/templates/alerts.html index 6a3c3b5..b4fbf11 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -85,7 +85,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 73e32bb..617e2bf 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 981ab99..6cbe0e2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}