diff --git a/src/web/app/common/views/components/post-html.ts b/src/web/app/common/views/components/post-html.ts
index 37954cd7e7..adb025589d 100644
--- a/src/web/app/common/views/components/post-html.ts
+++ b/src/web/app/common/views/components/post-html.ts
@@ -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':
diff --git a/src/web/app/desktop/views/components/posts.post.vue b/src/web/app/desktop/views/components/posts.post.vue
index 4ae980648c..4898de0b6b 100644
--- a/src/web/app/desktop/views/components/posts.post.vue
+++ b/src/web/app/desktop/views/components/posts.post.vue
@@ -37,7 +37,7 @@
{{ p.channel.title }}:
%fa:reply%
-
+
RP:
@@ -413,9 +413,6 @@ export default Vue.extend({
font-size 1.1em
color #717171
- > .dummy
- display none
-
.mk-url-preview
margin-top 8px
@@ -431,27 +428,6 @@ export default Vue.extend({
font-style oblique
color #a0bf46
- code
- padding 4px 8px
- margin 0 0.5em
- font-size 80%
- color #525252
- background #f8f8f8
- border-radius 2px
-
- pre > code
- padding 16px
- margin 0
-
- [data-is-me]:after
- content "you"
- padding 0 4px
- margin-left 4px
- font-size 80%
- color $theme-color-foreground
- background $theme-color
- border-radius 4px
-
> .mk-poll
font-size 80%
@@ -505,3 +481,26 @@ export default Vue.extend({
+
diff --git a/src/web/app/mobile/views/components/posts.post.vue b/src/web/app/mobile/views/components/posts.post.vue
index 87b8032c89..ae1dfc59ab 100644
--- a/src/web/app/mobile/views/components/posts.post.vue
+++ b/src/web/app/mobile/views/components/posts.post.vue
@@ -34,7 +34,7 @@
%fa:reply%
-
+
RP:
@@ -364,18 +364,6 @@ export default Vue.extend({
font-style oblique
color #a0bf46
- code
- padding 4px 8px
- margin 0 0.5em
- font-size 80%
- color #525252
- background #f8f8f8
- border-radius 2px
-
- pre > code
- padding 16px
- margin 0
-
[data-is-me]:after
content "you"
padding 0 4px
@@ -445,3 +433,17 @@ export default Vue.extend({
+