Merge pull request #33006 from NefiteTifall/patch-2

FIX: Correct HTML escaping function
This commit is contained in:
Laurent Destailleur 2025-02-11 10:58:48 +01:00 committed by GitHub
commit 36078f2a32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13024,7 +13024,7 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
);
if (!empty($helpText)) {
$attr['title'] = dol_escape_htmltag($helpText);
$attr['title'] = $helpText;
} elseif ($label) { // empty($attr['title']) &&
$attr['title'] = $label;
$useclassfortooltip = 0;