From a449299a3d5f5f8ef177e626721b3f69143890a4 Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Tue, 24 Sep 2024 08:27:10 -0400 Subject: [PATCH] Add underline to default config Closes #93 --- config/purify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/purify.php b/config/purify.php index 27e1a3e..66dbbb5 100644 --- a/config/purify.php +++ b/config/purify.php @@ -42,7 +42,7 @@ 'default' => [ 'Core.Encoding' => 'utf-8', 'HTML.Doctype' => 'HTML 4.01 Transitional', - 'HTML.Allowed' => 'h1,h2,h3,h4,h5,h6,b,strong,i,em,s,del,a[href|title],ul,ol,li,p[style],br,span,img[width|height|alt|src],blockquote', + 'HTML.Allowed' => 'h1,h2,h3,h4,h5,h6,b,u,strong,i,em,s,del,a[href|title],ul,ol,li,p[style],br,span,img[width|height|alt|src],blockquote', 'HTML.ForbiddenElements' => '', 'CSS.AllowedProperties' => 'font,font-size,font-weight,font-style,font-family,text-decoration,padding-left,color,background-color,text-align', 'AutoFormat.AutoParagraph' => false,