Commit ba640cfb authored by Takuya Noguchi's avatar Takuya Noguchi

Remove v-html from diffs/.../diff_file_header.vue

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 117df1e9
<script>
/* eslint-disable vue/no-v-html */
import { escape } from 'lodash';
import { mapActions, mapGetters } from 'vuex';
import {
......@@ -210,16 +209,16 @@ export default {
<span v-if="isFileRenamed">
<strong
v-gl-tooltip
v-safe-html="diffFile.old_path_html"
:title="diffFile.old_path"
class="file-title-name"
v-html="diffFile.old_path_html"
></strong>
<strong
v-gl-tooltip
v-safe-html="diffFile.new_path_html"
:title="diffFile.new_path"
class="file-title-name"
v-html="diffFile.new_path_html"
></strong>
</span>
......@@ -284,9 +283,9 @@ export default {
<a
v-if="diffFile.replaced_view_path"
ref="replacedFileButton"
v-safe-html="viewReplacedFileButtonText"
:href="diffFile.replaced_view_path"
class="btn view-file"
v-html="viewReplacedFileButtonText"
>
</a>
<gl-deprecated-button
......
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