From 749d284f3ee7ac5af5ce6cc2db978d01a8d645bb Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 8 Mar 2020 15:42:30 +0100 Subject: [PATCH] Fix Actions links in text mode - Display them as text buttons - Show the description - Use css classes Ref: 3255e4ad7b5cb155d6fe2ab948ebc1dc7467feb2 Signed-off-by: William Desportes --- libraries/classes/Html/ActionLinksModes/Text.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/classes/Html/ActionLinksModes/Text.php b/libraries/classes/Html/ActionLinksModes/Text.php index f13f2d3aea..f4311a7142 100644 --- a/libraries/classes/Html/ActionLinksModes/Text.php +++ b/libraries/classes/Html/ActionLinksModes/Text.php @@ -32,8 +32,8 @@ class Text implements ActionLinksModesInterface if (empty($value)) { $value = $text; } - return ' ' . "\n"; + . ' title="' . htmlspecialchars($text) . '">' . htmlspecialchars($text) . '' . "\n"; } }