summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 15:18:47 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 15:18:47 +0000
commitb5e7de21d8f1d479f24826198e6e54920cc29598 (patch)
tree1b09b2058baaebc370bf3f618185dca16fef2bb9 /app/assets
parentfa2fec1d18330e4cd9803ff164db19e7367e3838 (diff)
downloadgitlab-ce-b5e7de21d8f1d479f24826198e6e54920cc29598.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-5-stable-ee
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/jobs/components/job_app.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/jobs/components/job_app.vue b/app/assets/javascripts/jobs/components/job_app.vue
index 00ff3fb939d..c6adf2f231f 100644
--- a/app/assets/javascripts/jobs/components/job_app.vue
+++ b/app/assets/javascripts/jobs/components/job_app.vue
@@ -1,8 +1,7 @@
<script>
-/* eslint-disable vue/no-v-html */
import { throttle, isEmpty } from 'lodash';
import { mapGetters, mapState, mapActions } from 'vuex';
-import { GlLoadingIcon, GlIcon } from '@gitlab/ui';
+import { GlLoadingIcon, GlIcon, GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils';
import { isScrolledToBottom } from '~/lib/utils/scroll_utils';
import { polyfillSticky } from '~/lib/utils/sticky';
@@ -36,6 +35,9 @@ export default {
GlLoadingIcon,
SharedRunner: () => import('ee_component/jobs/components/shared_runner_limit_block.vue'),
},
+ directives: {
+ SafeHtml,
+ },
mixins: [delayedJobMixin],
props: {
artifactHelpUrl: {
@@ -223,7 +225,7 @@ export default {
</div>
<callout v-if="shouldRenderHeaderCallout">
- <div v-html="job.callout_message"></div>
+ <div v-safe-html="job.callout_message"></div>
</callout>
</header>
<!-- EO Header Section -->