From 05d40f8a577451f5553e9c54959e40d943154976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= <root@acid-chicken.com> Date: Thu, 26 Jul 2018 13:47:06 +0900 Subject: [PATCH] Update hashtags.vue --- src/client/app/common/views/widgets/hashtags.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/views/widgets/hashtags.vue b/src/client/app/common/views/widgets/hashtags.vue index 2065bd407..56520400b 100644 --- a/src/client/app/common/views/widgets/hashtags.vue +++ b/src/client/app/common/views/widgets/hashtags.vue @@ -11,7 +11,7 @@ <div> <div v-for="stat in stats" :key="stat.tag"> <div class="tag"> - <router-link :to="`/tags/${ stat.tag }`" :title="stat.tag">#{{ stat.tag }}</router-link> + <router-link :to="`/tags/${ encodeURIComponent(stat.tag) }`" :title="stat.tag">#{{ stat.tag }}</router-link> <p>{{ '%i18n:@count%'.replace('{}', stat.usersCount) }}</p> </div> <x-chart class="chart" :src="stat.chart"/>