Skip to content
Snippets Groups Projects
Commit 23b47edc authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4251

Closes #4251

Merge request studip/studip!3081
parent 46d7f6b5
No related branches found
No related tags found
No related merge requests found
<?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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment