This is not a bug in the component per se.
The component relies on the hashtag slug:
But core doesn’t pass the slug param in generateIconHTML function [1]. It doesn’t appear to be a regression, I assume there was no usage until this component.
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/hashtag-autocomplete.js#L130-L137
Posting here as suggested by Penar:
Might be worth a meta topic, in that case. Not sure how easy/hard it would be to support. Thanks!
With it:
↩︎

