diff options
Diffstat (limited to 'app/assets/javascripts/snippets/components')
-rw-r--r-- | app/assets/javascripts/snippets/components/snippet_description_view.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/snippets/components/snippet_description_view.vue b/app/assets/javascripts/snippets/components/snippet_description_view.vue index e462f20535b..62d95a650da 100644 --- a/app/assets/javascripts/snippets/components/snippet_description_view.vue +++ b/app/assets/javascripts/snippets/components/snippet_description_view.vue @@ -1,5 +1,4 @@ <script> -/* eslint-disable vue/no-v-html */ import MarkdownFieldView from '~/vue_shared/components/markdown/field_view.vue'; export default { @@ -17,6 +16,9 @@ export default { </script> <template> <markdown-field-view class="snippet-description" data-qa-selector="snippet_description_content"> - <div class="md js-snippet-description" v-html="description"></div> + <div + class="md js-snippet-description" + v-html="description /* eslint-disable-line vue/no-v-html */" + ></div> </markdown-field-view> </template> |