Reply to - topic bug

It’s a side-effect of this commit: DEV: Only mark translations as htmlSafe for DButton (#30958) · discourse/discourse@2b63830 · GitHub

It seems you now must be explicit that a label is HTML-safe when using translatedLabel.
In the dialog context, it misses one htmlSafe here. However, I don’t know if it impacts others’ codes yet.

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/dialog-holder/addon/components/dialog-holder.gjs#L61

2 Likes