Commit 33c20f49 authored by Kev's avatar Kev

Replace v-html with v-safe-html in configure_feature_flags_modal.vue

parent 438aade5
<script>
/* eslint-disable vue/no-v-html */
import {
GlFormGroup,
GlFormInput,
......@@ -9,6 +8,7 @@ import {
GlSprintf,
GlLink,
GlIcon,
GlSafeHtmlDirective as SafeHtml,
} from '@gitlab/ui';
import { s__, __, sprintf } from '~/locale';
import ModalCopyButton from '~/vue_shared/components/modal_copy_button.vue';
......@@ -40,6 +40,7 @@ export default {
directives: {
GlTooltip: GlTooltipDirective,
SafeHtml,
},
props: {
......@@ -150,7 +151,7 @@ export default {
<template #modal-title>
{{ $options.modalTitle }}
</template>
<p v-html="helpText"></p>
<p v-safe-html="helpText"></p>
<callout category="warning">
<gl-sprintf
:message="
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment