This commit is contained in:
j 2007-10-10 10:41:19 +00:00
parent 134cb76fd9
commit fccc9006d4

View file

@ -129,6 +129,8 @@ def stripTags(s):
return djangohtml.strip_tags(htmldecode(s)).strip() return djangohtml.strip_tags(htmldecode(s)).strip()
return u'' return u''
strip_tags=stripTags
from htmlentitydefs import name2codepoint from htmlentitydefs import name2codepoint
# This pattern matches a character entity reference (a decimal numeric # This pattern matches a character entity reference (a decimal numeric