From 5fad2c3a14c9e3014510f1934ffabaffeaec60c0 Mon Sep 17 00:00:00 2001 From: John BOTELLA <68917336+thersane-john@users.noreply.github.com> Date: Mon, 3 Mar 2025 10:15:25 +0100 Subject: [PATCH] Fix dolGetButton Tooltip --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 95f69e8e3fe..461b6b43c52 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12520,7 +12520,7 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url = } // escape all attribute - $attr = array_map('dol_escape_htmltag', $attr); + $attr = array_map('dol_htmlentities', $attr); $TCompiledAttr = array(); foreach ($attr as $key => $value) {