1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-30 07:49:02 +09:00
This commit is contained in:
syuilo 2017-06-14 01:24:11 +09:00
parent ac94cf91df
commit 3e83ee9404

View File

@ -22,7 +22,7 @@ export default (tokens, shouldBreak) => {
case 'bold':
return `<strong>${escape(token.bold)}</strong>`;
case 'url':
return `<mk-url href="${escape(token.content)}" target="_blank"/>`;
return `<mk-url href="${escape(token.content)}" target="_blank"></mk-url>`;
case 'link':
return `<a class="link" href="${escape(token.url)}" target="_blank" title="${escape(token.url)}">${escape(token.title)}</a>`;
case 'mention':