🔧 Remove escape

Eliminated unnecessary escaping of help text in button titles, simplifying the code and ensuring that the title attribute directly uses the provided help text without modification.
This commit is contained in:
NefiteTifall | Nicolas 2025-02-11 10:20:23 +01:00
parent 4cceac1f46
commit b4f06c8f1c
No known key found for this signature in database
GPG key ID: D72725EA36D8C09A

View file

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