From c4e207e8b7775097dbc641370fc618bdac98203c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 22 Jul 2018 15:51:19 +0200 Subject: [PATCH] Fix dol_string_onlythesehtmltags --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index b3611b2d9e3..6bbcbb9109e 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -5491,7 +5491,7 @@ function dol_string_nohtmltag($stringtoclean, $removelinefeed=1, $pagecodeto='UT function dol_string_onlythesehtmltags($stringtoclean) { $allowed_tags = array( - "html", "head", "meta", "body", "b", "br", "div", "em", "font", "img", "ins", "hr", "i", "li", "link", + "html", "head", "meta", "body", "article", "a", "b", "br", "div", "em", "font", "img", "ins", "hr", "i", "li", "link", "ol", "p", "s", "section", "span", "strong", "title", "table", "tr", "th", "td", "u", "ul" );