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
ba640cfb
Commit
ba640cfb
authored
Sep 03, 2020
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove v-html from diffs/.../diff_file_header.vue
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
117df1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
app/assets/javascripts/diffs/components/diff_file_header.vue
app/assets/javascripts/diffs/components/diff_file_header.vue
+3
-4
No files found.
app/assets/javascripts/diffs/components/diff_file_header.vue
View file @
ba640cfb
<
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
...
...
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