mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-02-03 21:30:20 -07:00
Fix bug
This commit is contained in:
parent
95a76dd211
commit
b5420a6690
1 changed files with 5 additions and 1 deletions
|
@ -90,7 +90,11 @@ export default Vue.component('mk-post-html', {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
case 'inline-code':
|
case 'inline-code':
|
||||||
return createElement('code', token.html);
|
return createElement('code', {
|
||||||
|
domProps: {
|
||||||
|
innerHTML: token.html
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
case 'quote':
|
case 'quote':
|
||||||
const text2 = token.quote.replace(/(\r\n|\n|\r)/g, '\n');
|
const text2 = token.quote.replace(/(\r\n|\n|\r)/g, '\n');
|
||||||
|
|
Loading…
Reference in a new issue