HTML and interactive content
You can use tooltips with Jenkins Symbols too, using either the tooltip
or htmlTooltip
attribute. Setting both will prioritise the htmlTooltip
.
Make sure that text is sanitized before displaying it inside of data-html-tooltip
as this can lead to XSS attacks. Escape or avoid using it on user-controlled data like agent display names or descriptions. See Preventing Cross-Site Scripting in Jelly views.