From 469031c9ec68eab6a42a0b741e20dbc4d1537d3a Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:54:04 +0530 Subject: [PATCH] [ESC-340] Fix Underline on text block (#598) Co-authored-by: Julien Nahum --- api/config/purify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/config/purify.php b/api/config/purify.php index 24c8d1ce4..8a2bcbdca 100644 --- a/api/config/purify.php +++ b/api/config/purify.php @@ -40,7 +40,7 @@ 'configs' => [ 'default' => [ - 'HTML.Allowed' => 'h1,h2,b,strong,i,em,a[href|title],ul,ol,li,p,br,span,*[style]', + 'HTML.Allowed' => 'h1,h2,b,u,strong,i,em,a[href|title],ul,ol,li,p,br,span,*[style]', 'HTML.ForbiddenElements' => '', 'CSS.AllowedProperties' => 'font,font-size,font-weight,font-style,text-decoration,color,text-align',