I stumbled on the same issue.
A quick look to Discourse shows that escape is used on the button label, title and content.
What does escape:
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/escape.js
In a text context, this seems all valid characters to use.
I wonder, is it required here?
I believe html not marked with htmlSafe will be escaped by the template? ![]()