From 881941988b1c8a32a85dd75c51eb170da7fd5642 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Thu, 12 Dec 2024 16:29:33 +0100 Subject: [PATCH] [FIX] runbot: change md_description to html Otherwise it doesn't output raw html. --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index 220d8812..9daa3d73 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -155,7 +155,7 @@ class BuildResult(models.Model): # could be a default value, but possible to change it to allow duplicate accros branches description = fields.Char('Description', help='Informative description') - md_description = fields.Char(compute='_compute_md_description', string='MD Parsed Description', help='Informative description markdown parsed') + md_description = fields.Html(compute='_compute_md_description', string='MD Parsed Description', help='Informative description markdown parsed', sanitize=False) display_name = fields.Char(compute='_compute_display_name') # Related fields for convenience