Skip to content

Commit

Permalink
Merge PR #833 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 11, 2024
2 parents 5acaaac + 02a869d commit df97b4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base_comment_template/models/comment_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Copyright 2020 NextERP Romania SRL
# Copyright 2021-2022 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import markupsafe

from odoo import api, fields, models
from odoo.osv import expression
from odoo.tools.safe_eval import safe_eval
Expand Down Expand Up @@ -61,4 +63,4 @@ def render_comment(
add_context=add_context,
post_process=post_process,
)
return comment_texts[self.id] or ""
return markupsafe.Markup(comment_texts[self.id]) or ""

0 comments on commit df97b4b

Please sign in to comment.