diff --git a/src/client/app/common/views/components/post-html.ts b/src/client/app/common/views/components/post-html.ts index 98da86617d..39d783aac5 100644 --- a/src/client/app/common/views/components/post-html.ts +++ b/src/client/app/common/views/components/post-html.ts @@ -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');