mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 01:44:13 +00:00
modified msg-reply, msg
This commit is contained in:
@@ -129,7 +129,7 @@ at_pattern = re.compile(r'(\s|^)(@\w+)', flags=re.U)
|
||||
|
||||
@register.filter(name='find_at')
|
||||
def find_at(text):
|
||||
return at_pattern.sub(r'\1<span class="at-in-msg">\2</span>', text)
|
||||
return at_pattern.sub(r'\1<span class="at">\2</span>', text)
|
||||
find_at.is_safe=True
|
||||
|
||||
@register.filter(name='short_email')
|
||||
|
Reference in New Issue
Block a user