mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
Fix dol_string_onlythesehtmltags
This commit is contained in:
@@ -5491,7 +5491,7 @@ function dol_string_nohtmltag($stringtoclean, $removelinefeed=1, $pagecodeto='UT
|
|||||||
function dol_string_onlythesehtmltags($stringtoclean)
|
function dol_string_onlythesehtmltags($stringtoclean)
|
||||||
{
|
{
|
||||||
$allowed_tags = array(
|
$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",
|
"ol", "p", "s", "section", "span", "strong", "title",
|
||||||
"table", "tr", "th", "td", "u", "ul"
|
"table", "tr", "th", "td", "u", "ul"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user