No Highlighting of Group mentions in Markdown Preview

I just noticed that while usernames have a different style applied in the markdown preview (bold, gray), this is not the case for group mentions. Is this intentional? I consider this as incoherent and suggest to apply either the same style to group mentions in the preview or a different one.

Advantage: Text author is assured that mention is well recognised and functional.

Please refer to the category description of bug. This is not a bug.

I agree. I thought first this would be only the case for groups with a minus in the name @blub-blub and forgot to change the category later on.

I am really not following


I updated yesterday.

Once posted, the bold-gray style is applied.

Does the group allow mentions? what if you call it @beta is it something to do with the dash?


I wonder if this fix needed to be applied at a second location too for dealing with the composer preview?

It stemmed from

Which had an issue with group names with dahses in them.


Looks like this may have gone unfixed?


In the preview my group @ORGANISATION-Board is still not highlighted accordingly.

I just updated to the most recent version and the highlighting does not work. :frowning:

While mentioning team here seems to work and it gets a mention-group and notify class attributed, it only gets a mention-tested class in my Discourse instance.

I suggest to put this topic back to the bug category.

Group names without a dash are not working either for me. So I kindly ask to test group name mentions with and without dashes at other Discourse instances.


Sure @techapj can you add this to your list to test maybe next week, can we repro with dashes in the group name?


This was a legit issue. The issue was: group with name discourse was getting highlighted but group with name Discourse was not getting highlighted, i.e. mixed case group names were not getting highlighted.

Fixed via:

Thanks for reporting this issue @rriemann :thumbsup: