Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
33c20f49
Commit
33c20f49
authored
Sep 02, 2020
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace v-html with v-safe-html in configure_feature_flags_modal.vue
parent
438aade5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ee/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue
...eature_flags/components/configure_feature_flags_modal.vue
+3
-2
No files found.
ee/app/assets/javascripts/feature_flags/components/configure_feature_flags_modal.vue
View file @
33c20f49
<
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=
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment