[FIX] website_blog: Add sanitize=False on content of blog to allow writer/author to insert some tricky code like form or JS

This commit is contained in:
Jeremy Kersten 2014-07-23 17:10:02 +02:00
parent 5ae0b900f7
commit 335e4a8cc3
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class BlogPost(osv.Model):
'tag_ids': fields.many2many(
'blog.tag', string='Tags',
),
'content': fields.html('Content', translate=True),
'content': fields.html('Content', translate=True, sanitize=False),
# website control
'website_published': fields.boolean(
'Publish', help="Publish on the website"