From adc040cc05a547843367bd3222cc33d472fca2b7 Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala Date: Fri, 18 Oct 2024 17:00:02 +0530 Subject: [PATCH] [ESC-340] Fix Underline on text block --- 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',