diff --git a/src/client/app/common/views/components/misskey-flavored-markdown.ts b/src/client/app/common/views/components/misskey-flavored-markdown.ts index c93e09fb5f..1480c0325c 100644 --- a/src/client/app/common/views/components/misskey-flavored-markdown.ts +++ b/src/client/app/common/views/components/misskey-flavored-markdown.ts @@ -92,7 +92,7 @@ export default Vue.component('misskey-flavored-markdown', { case 'hashtag': return createElement('a', { attrs: { - href: `${url}/tags/${token.hashtag}`, + href: `${url}/tags/${encodeURIComponent(token.hashtag)}`, target: '_blank' } }, token.content); diff --git a/src/client/app/common/views/widgets/hashtags.vue b/src/client/app/common/views/widgets/hashtags.vue index 2065bd407c..56520400b6 100644 --- a/src/client/app/common/views/widgets/hashtags.vue +++ b/src/client/app/common/views/widgets/hashtags.vue @@ -11,7 +11,7 @@
{{ '%i18n:@count%'.replace('{}', stat.usersCount) }}