diff --git a/templates/shared/tooltip.php b/templates/shared/tooltip.php index 8dbcd382421175fd5bd6b69a1e7a3690144d90f8..513700f6f20cc9c77c66e5ba89e09f84f0164baa 100644 --- a/templates/shared/tooltip.php +++ b/templates/shared/tooltip.php @@ -1,4 +1,11 @@ +<?php +/** + * @var bool $important + * @var bool $html + * @var string $text + */ +?> <span class="tooltip tooltip-icon <? if ($important) echo 'tooltip-important'; ?>" - tabindex="0" aria-label="<?= $html ? kill_format($text) : htmlReady($text) ?>"> + tabindex="0" aria-label="<?= $html ? htmlReady(strip_tags($text)) : htmlReady($text) ?>"> <span class="tooltip-content"><?= $html ? $text : htmlReady($text) ?></span> </span>