diff --git a/app/assets/javascripts/discourse/dialects/category_hashtag_dialect.js b/app/assets/javascripts/discourse/dialects/category_hashtag_dialect.js index b0491091531..6aec1319d7d 100644 --- a/app/assets/javascripts/discourse/dialects/category_hashtag_dialect.js +++ b/app/assets/javascripts/discourse/dialects/category_hashtag_dialect.js @@ -15,7 +15,7 @@ Discourse.Dialect.inlineRegexp({ result = categoryHashtagLookup && categoryHashtagLookup(slug); if (result) { - return ['a', { class: attributeClass, href: result }, '#', ["span", {}, slug]]; + return ['a', { class: attributeClass, href: result[0] }, '#', ["span", {}, result[1]]]; } else { return ['span', { class: attributeClass }, hashtag]; }