Update misskey-flavored-markdown.ts

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-07-26 13:48:08 +09:00 committed by GitHub
parent 05d40f8a57
commit 0228d50bef

View File

@ -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);