Skip to content
Snippets Groups Projects
Commit af1a533d authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 7228e6d1
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment