mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[14.0][FIX] document_page: Stored XSS
unitary tests added post-migration script added
This commit is contained in:
@@ -27,7 +27,7 @@ class DocumentPage(models.Model):
|
||||
"document.page", "Category", domain=[("type", "=", "category")]
|
||||
)
|
||||
child_ids = fields.One2many("document.page", "parent_id", "Children")
|
||||
content = fields.Text(
|
||||
content = fields.Html(
|
||||
"Content",
|
||||
compute="_compute_content",
|
||||
inverse="_inverse_content",
|
||||
|
||||
Reference in New Issue
Block a user