1
0
forked from mirror/misskey

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

View File

@ -92,7 +92,7 @@ export default Vue.component('misskey-flavored-markdown', {
case 'hashtag': case 'hashtag':
return createElement('a', { return createElement('a', {
attrs: { attrs: {
href: `${url}/tags/${token.hashtag}`, href: `${url}/tags/${encodeURIComponent(token.hashtag)}`,
target: '_blank' target: '_blank'
} }
}, token.content); }, token.content);