mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 06:13:43 +08:00
69eecf92d0
One user can create a post or chat message with a hashtag they have permission to use, but then when other users look at that post they will see an empty space next to the hashtag because they do not have the permission to load the colors in CSS classes for the related category. This fixes the issue by adding a default color with a special CSS class if the user doesn't have permission to see the linked channel/category on the hashtag. |
||
---|---|---|
.. | ||
discourse | ||
lib/discourse-markdown |