mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 02:10:49 +01:00
hash sign. Prevents HTML-escaped enties such as ' from being picked up. Thanks to Andrewas Kotowicz for reporting this.
This commit is contained in:
parent
8d95221000
commit
da703f3c83
@ -37,7 +37,7 @@ def num_to_link(text):
|
||||
return text
|
||||
|
||||
matches = []
|
||||
for match in re.finditer("#(\d+)", text):
|
||||
for match in re.finditer(" #(\d+)", text):
|
||||
matches.append(match)
|
||||
|
||||
for match in ReverseProxy(matches):
|
||||
|
Loading…
Reference in New Issue
Block a user