Skip to content

Beautiful Open-Source Form Builder

[ESC-340] Fix Underline on text block (#598)

Chirag Chhatrala469031c9ec68
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 @@ return [
'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',