fixed linting issues

This commit is contained in:
Grzegorz Leoniec 2018-12-07 19:29:37 +01:00
parent 165d41c413
commit 987fa33d58
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
2 changed files with 9 additions and 0 deletions

View File

@ -8,12 +8,15 @@
:image="post.image"
style="cursor: pointer; position: relative;"
>
<!-- eslint-disable vue/no-v-html -->
<!-- TODO: replace editor content with tiptap render view -->
<ds-space margin-bottom="large">
<div
class="hc-editor-content"
v-html="excerpt"
/>
</ds-space>
<!-- eslint-enable vue/no-v-html -->
<ds-space
margin="small"
style="position: absolute; bottom: 44px;"

View File

@ -8,10 +8,13 @@
<hc-author :post="post" />
<ds-space margin-bottom="small" />
<!-- Content -->
<!-- eslint-disable vue/no-v-html -->
<!-- TODO: replace editor content with tiptap render view -->
<div
class="content hc-editor-content"
v-html="post.content"
/>
<!-- eslint-enable vue/no-v-html -->
<!-- Shout Button -->
<ds-space margin="xx-large" />
<hc-shout-button
@ -72,11 +75,14 @@
<ds-space margin-bottom="x-small">
<hc-author :post="comment" />
</ds-space>
<!-- eslint-disable vue/no-v-html -->
<!-- TODO: replace editor content with tiptap render view -->
<div
v-if="!comment.deleted"
style="padding-left: 40px;"
v-html="comment.contentExcerpt"
/>
<!-- eslint-enable vue/no-v-html -->
<ds-text
v-else
style="padding-left: 40px; font-weight: bold;"