Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: ensure tag links do not have spaces #11

Merged
merged 1 commit into from May 9, 2023
Merged

Conversation

awesomerobot
Copy link
Member

@awesomerobot awesomerobot commented May 9, 2023

This relies on a core update: discourse/discourse#21391

When integrating category banners with linked tags, a tag link gets appended to the respective category banner. However, when utilizing the {{discourse-tag}} function to create this tag link, coupled with the theme setting to eliminate hyphens or underscores for an aesthetically pleasing display, the tag links generated by {{discourse-tag}} would break.

So the core update allows us to pass a displayName to {{discourse-tag}}, so the link can function correctly while the tag text displays differently.

@awesomerobot awesomerobot merged commit d072474 into main May 9, 2023
3 checks passed
@awesomerobot awesomerobot deleted the tag-link-fix branch May 9, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants