summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-29 20:37:24 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-29 20:37:24 +0900
commitaf1a533d1340f40f93ca2c2db716935dff80ac00 (patch)
tree14dd1c7a9b02d429056c876ee2c03e265438bbd7 /src/client
parent:v: (diff)
downloadsharkey-af1a533d1340f40f93ca2c2db716935dff80ac00.tar.gz
sharkey-af1a533d1340f40f93ca2c2db716935dff80ac00.tar.bz2
sharkey-af1a533d1340f40f93ca2c2db716935dff80ac00.zip
Fix bug
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/post-html.ts6
1 files changed, 5 insertions, 1 deletions
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');