Skip to content

Commit c45d215

Browse files
AdrienClairembaultbtry
authored andcommitted
fix(issues): Tooltip consistency with core
1 parent 9372972 commit c45d215

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

inc/issue.class.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,10 @@ public static function giveItem($itemtype, $option_id, $data, $num) {
893893
}
894894

895895
$key = 'id';
896-
$tooltip = Html::showToolTip(nl2br(RichText::getTextFromHtml($content)), [
897-
'applyto' => $itemtype.$data['raw'][$key],
898-
'display' => false,
896+
$tooltip = Html::showToolTip(RichText::getEnhancedHtml($content), [
897+
'applyto' => $itemtype.$data['raw'][$key],
898+
'display' => false,
899+
'images_gallery' => false
899900
]);
900901
return '<a id="' . $itemtype.$data['raw'][$key] . '" href="' . $link . '">'
901902
. sprintf(__('%1$s %2$s'), $name, $tooltip)

0 commit comments

Comments
 (0)