[IMP] allow frames in blogs (video, ...

bzr revid: fp@tinyerp.com-20131214211309-i2kk3cb60hnp1urz
This commit is contained in:
Fabien Pinckaers 2013-12-14 22:13:09 +01:00
parent 65a5ce8a92
commit f9e986ecea
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ def html_sanitize(src, silent=True):
kwargs = {
'page_structure': True,
'style': False, # do not remove style attributes
'frames': False, # de not remove frames (embbed video in CMS blogs)
'forms': True, # remove form tags
'remove_unknown_tags': False,
'allow_tags': allowed_tags,