improved html tag stripping
This commit is contained in:
@@ -40,6 +40,7 @@ from django.utils import timezone
|
||||
from django.utils.html import strip_tags
|
||||
|
||||
from utils import deserialize_list,ewmovingaverage,wavg
|
||||
from emails import htmlstrip
|
||||
|
||||
from HTMLParser import HTMLParser
|
||||
class MLStripper(HTMLParser):
|
||||
@@ -819,7 +820,7 @@ def handle_send_disqualification_email(
|
||||
'username':username,
|
||||
'reason':reason,
|
||||
'siteurl':siteurl,
|
||||
'message': strip_tags(message),
|
||||
'message': htmlstrip(message),
|
||||
'racename':racename,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user