This commit is contained in:
syuilo
2018-02-24 07:54:37 +09:00
parent a2ed259501
commit 2c007ff36f
3 changed files with 44 additions and 39 deletions

View File

@@ -81,7 +81,11 @@ export default Vue.component('mk-post-html', {
case 'code':
return createElement('pre', [
createElement('code', token.html)
createElement('code', {
domProps: {
innerHTML: token.html
}
})
]);
case 'inline-code':