🔧 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:
parent
4cceac1f46
commit
b4f06c8f1c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue