mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Fix #551
This commit is contained in:
parent
7ff0a5360c
commit
2e7da25a65
@ -22,7 +22,7 @@ export default (tokens, shouldBreak) => {
|
|||||||
case 'bold':
|
case 'bold':
|
||||||
return `<strong>${escape(token.bold)}</strong>`;
|
return `<strong>${escape(token.bold)}</strong>`;
|
||||||
case 'url':
|
case 'url':
|
||||||
return `<mk-url href="${escape(token.content)}" target="_blank"/>`;
|
return `<mk-url href="${escape(token.content)}" target="_blank"></mk-url>`;
|
||||||
case 'link':
|
case 'link':
|
||||||
return `<a class="link" href="${escape(token.url)}" target="_blank" title="${escape(token.url)}">${escape(token.title)}</a>`;
|
return `<a class="link" href="${escape(token.url)}" target="_blank" title="${escape(token.url)}">${escape(token.title)}</a>`;
|
||||||
case 'mention':
|
case 'mention':
|
||||||
|
Loading…
Reference in New Issue
Block a user