Update misskey-flavored-markdown.ts

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-07-26 13:48:08 +09:00 committed by GitHub
parent 04de0e9a50
commit 0852045928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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