בעיה בהקידוד תווים מיוחדים בטיפים להכנסה

I stumbled on the same issue.

A quick look to Discourse shows that escape is used on the button label, title and content.

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/user-tip.gjs#L38-L39

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/user-tip.gjs#L54-L58

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? :thinking:

2 לייקים