mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: Category hashtag is cooked incorrectly.
This commit is contained in:
parent
ee38572be3
commit
39aaa181e1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module PrettyText
|
|||
|
||||
def category_hashtag_lookup(category_slug)
|
||||
if category = Category.query_from_hashtag_slug(category_slug)
|
||||
category.url_with_id
|
||||
[category.url_with_id, text]
|
||||
else
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue