main ← fix-render-hashtag-icons-in-category-descriptions
opened 09:27PM - 25 Dec 25 UTC
Fixes missing tag icons on the /categories page.
Category descriptions were u…sing `{{htmlSafe}}` directly, which bypasses client-side decoration that injects hashtag icons. The fix is to use `DecoratedHtml` instead.
While investigating, I noticed that most `DecoratedHtml` usages just need the standard decorators applied, yet each required boilerplate to do so. Since you'd just use `{{htmlSafe}}` if you didn't want decoration, I made `DecoratedHtml` apply decorators by default — it's called "Decorated" Html after all.
Also standardized category descriptions on `dirSpan` for RTL support.
Ref - t/171448
Ref - https://meta.discourse.org/t/392128