mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Prefix hashtag text with URL-encoded hashtag character
This commit is contained in:
parent
81512ab4ca
commit
6af65171f8
|
@ -116,7 +116,7 @@ export const HashtagMenuController: React.FC = () => {
|
||||||
text: intl.formatMessage(messages.muteHashtag, {
|
text: intl.formatMessage(messages.muteHashtag, {
|
||||||
hashtag,
|
hashtag,
|
||||||
}),
|
}),
|
||||||
href: `/filters?custom_filter[keywords_attributes][0][keyword]=${hashtag}&custom_filter[keywords_attributes][0][whole_word]=1`,
|
href: `/filters?custom_filter[keywords_attributes][0][keyword]=%23${hashtag}&custom_filter[keywords_attributes][0][whole_word]=1`,
|
||||||
dangerous: true,
|
dangerous: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user