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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
8a7b5b17
Commit
8a7b5b17
authored
May 08, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant `html_escape` calls from `title` attributes
These get escaped automatically.
parent
3950f807
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/helpers/events_helper.rb
app/helpers/events_helper.rb
+3
-3
No files found.
app/helpers/events_helper.rb
View file @
8a7b5b17
...
...
@@ -3,7 +3,7 @@ module EventsHelper
author
=
event
.
author
if
author
link_to
author
.
name
,
user_path
(
author
.
username
),
title:
h
(
author
.
name
)
link_to
author
.
name
,
user_path
(
author
.
username
),
title:
author
.
name
else
event
.
author_name
end
...
...
@@ -151,7 +151,7 @@ module EventsHelper
namespace_project_commit_path
(
event
.
project
.
namespace
,
event
.
project
,
event
.
note_commit_id
,
anchor:
dom_id
(
event
.
target
)),
title:
h
(
event
.
target_title
)
,
title:
event
.
target_title
,
class:
"commit_short_id"
)
do
"
#{
event
.
note_target_type
}
#{
event
.
note_short_commit_id
}
"
...
...
@@ -159,7 +159,7 @@ module EventsHelper
elsif
event
.
note_project_snippet?
link_to
(
namespace_project_snippet_path
(
event
.
project
.
namespace
,
event
.
project
,
event
.
note_target
),
title:
h
(
event
.
project
.
name
)
)
do
event
.
note_target
),
title:
event
.
project
.
name
)
do
"
#{
event
.
note_target_type
}
#{
truncate
event
.
note_target
.
to_reference
}
"
end
else
...
...
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