1
0
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:
llj
2012-08-10 14:32:03 +08:00
parent 354b1154a4
commit 09d42ff13c
3 changed files with 18 additions and 13 deletions

View File

@@ -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')