mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-18 15:31:28 +01:00
Update functions.lib.php
This commit is contained in:
committed by
GitHub
parent
0ddf48869a
commit
af945c1901
@@ -7483,7 +7483,7 @@ function dol_textishtml($msg, $option = 0)
|
||||
return true;
|
||||
} elseif (preg_match('/<\/textarea/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<(b|em|i|u)(\s*[^>]+)?>/i', $msg)) {
|
||||
} elseif (preg_match('/<(b|em|i|u)(\s+[^>]+)?>/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<br/i', $msg)) {
|
||||
return true;
|
||||
@@ -7498,7 +7498,7 @@ function dol_textishtml($msg, $option = 0)
|
||||
return true;
|
||||
} elseif (preg_match('/<\/textarea/i', $msg)) {
|
||||
return true;
|
||||
} elseif (preg_match('/<(b|em|i|u)(\s*[^>]+)?>/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