adding 'strong' to 'permitted_tags', and 'a.target' to allowed_attributes, thanks Vladyslav

This commit is contained in:
mdipierro
2012-06-30 12:08:53 -05:00
parent c6f79af372
commit 7e2c62eedc
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-30 11:54:31) dev
Version 2.00.0 (2012-06-30 12:08:50) dev
+2 -1
View File
@@ -505,9 +505,10 @@ class XML(XmlComponent):
'img/',
'h1','h2','h3','h4','h5','h6',
'table','tr','td','div',
'strong',
],
allowed_attributes = {
'a': ['href', 'title'],
'a': ['href', 'title', 'target'],
'img': ['src', 'alt'],
'blockquote': ['type'],
'td': ['colspan'],