1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2018-03-29 20:37:24 +09:00
parent 7228e6d111
commit af1a533d13

View File

@ -90,7 +90,11 @@ export default Vue.component('mk-post-html', {
]);
case 'inline-code':
return createElement('code', token.html);
return createElement('code', {
domProps: {
innerHTML: token.html
}
});
case 'quote':
const text2 = token.quote.replace(/(\r\n|\n|\r)/g, '\n');