[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:
parent
5ae0b900f7
commit
335e4a8cc3
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue