mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 01:45:23 +08:00
FIX: Category hashtag is cooked incorrectly.
This commit is contained in:
parent
ee38572be3
commit
39aaa181e1
@ -50,7 +50,7 @@ module PrettyText
|
|||||||
|
|
||||||
def category_hashtag_lookup(category_slug)
|
def category_hashtag_lookup(category_slug)
|
||||||
if category = Category.query_from_hashtag_slug(category_slug)
|
if category = Category.query_from_hashtag_slug(category_slug)
|
||||||
category.url_with_id
|
[category.url_with_id, text]
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user