Commit 1d84b14b authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '241913-remove-v-html-from-app-assets-javascripts-issue_show-components-title-vue' into 'master'

Remove v-html from app/assets/javascripts/issue_show/components/title.vue

Closes #241913

See merge request gitlab-org/gitlab!41520
parents bed67564 cd8d19b9
<script>
/* eslint-disable vue/no-v-html */
import { GlButton, GlTooltipDirective } from '@gitlab/ui';
import { GlButton, GlTooltipDirective, GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import animateMixin from '../mixins/animate';
import eventHub from '../event_hub';
......@@ -10,6 +9,7 @@ export default {
},
directives: {
GlTooltip: GlTooltipDirective,
SafeHtml,
},
mixins: [animateMixin],
props: {
......@@ -65,13 +65,13 @@ export default {
<template>
<div class="title-container">
<h2
v-safe-html="titleHtml"
:class="{
'issue-realtime-pre-pulse': preAnimation,
'issue-realtime-trigger-pulse': pulseAnimation,
}"
class="title qa-title"
dir="auto"
v-html="titleHtml"
></h2>
<gl-button
v-if="showInlineEditButton && canUpdate"
......
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