The discussion addresses a bug where tag icons fail to display in topics and the tag overview for tags containing underscores. AquaL1te reported that while icons appear correctly in the sidebar, they are missing elsewhere, despite using the latest Discourse release and theme component. gilles suggested a potential plugin conflict, but Lilly identified the root cause: a recent commit in the discourse-tag-icons component reconfigured tag slugs, converting underscores (_) to dashes (-). Lilly confirmed that changing the slug configuration in the theme component from underscore to dash resolves the issue in topics.
However, AquaL1te noted that this workaround is inconsistent; changing the slug to a dash fixes the topic view but breaks the icon display in the side panel. The user expressed frustration with the unpredictable behavior introduced by the update and requested a proper fix or temporary workaround that does not require altering the underlying tag labels. As of the last post, the issue remains unresolved, with AquaL1te seeking further assistance.
It works on my end, so I think there’s a conflict with another component or plugin. Try disabling the components to see which one is causing the conflict.
Do you have a URL to your forum? Maybe I can compare some things. Maybe the amount of tags or something like that triggers it. Because 95% of my tags work fine. I can try disabling components, but I need more time for that.
without installing this component and testing, i’m going to just guess that it is the _ underscore in the tag names. looks like all the tags that have underscores are not showing their icons.
edit: testing now and indeed this is the case - if you change the tag slugs in this component from underscore to dash (don’t change the tag names themselves), it should work again.
That’s a strange commit, why would a component need to change that behavior? That makes things unpredictable. When I change strategic_access to strategic-access in the theme component it works in topics, but then breaks in the sidepanel.
This issue is still present, is there a solution or temporary workaround for this? Or just sit back and wait for the fix? Changing the labels is not really something I want to do.