forked from Wavyzz/dolibarr
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -7577,7 +7577,7 @@ function dol_textishtml($msg, $option = 0)
|
||||
return true;
|
||||
} elseif (preg_match('/<\/textarea/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<(b|em|i|u)>/i', $msg)) {
|
||||
} elseif (preg_match('/<(b|em|i|u)(\s+[^>]+)?>/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<br/i', $msg)) {
|
||||
return true;
|
||||
@@ -7592,7 +7592,7 @@ function dol_textishtml($msg, $option = 0)
|
||||
return true;
|
||||
} elseif (preg_match('/<\/textarea/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<(b|em|i|u)>/i', $msg)) {
|
||||
} elseif (preg_match('/<(b|em|i|u)(\s+[^>]+)?>/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<br\/>/i', $msg)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user