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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
ba72c6f6
Commit
ba72c6f6
authored
Sep 19, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Escape text passed directly to gfm
parent
496f88af
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
app/views/events/_commit.html.haml
app/views/events/_commit.html.haml
+1
-1
app/views/issues/show.html.haml
app/views/issues/show.html.haml
+1
-1
app/views/merge_requests/show/_mr_box.html.haml
app/views/merge_requests/show/_mr_box.html.haml
+1
-1
app/views/milestones/show.html.haml
app/views/milestones/show.html.haml
+1
-1
app/views/repositories/_branch.html.haml
app/views/repositories/_branch.html.haml
+1
-1
app/views/repositories/_feed.html.haml
app/views/repositories/_feed.html.haml
+1
-1
app/views/repositories/tags.html.haml
app/views/repositories/tags.html.haml
+1
-1
No files found.
app/views/events/_commit.html.haml
View file @
ba72c6f6
...
...
@@ -5,4 +5,4 @@
%strong
.cdark
=
commit
.
author_name
–
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
"avatar"
,
width:
16
=
gfm
truncate
(
commit
.
title
,
length:
50
)
rescue
"--broken encoding"
=
gfm
escape_once
(
truncate
(
commit
.
title
,
length:
50
)
)
rescue
"--broken encoding"
app/views/issues/show.html.haml
View file @
ba72c6f6
...
...
@@ -31,7 +31,7 @@
.alert-message.error.status_info
Closed
-
else
.alert-message.success.status_info
Open
=
gfm
@issue
.
title
=
gfm
escape_once
(
@issue
.
title
)
.middle_box_content
%cite
.cgray
Created by
...
...
app/views/merge_requests/show/_mr_box.html.haml
View file @
ba72c6f6
...
...
@@ -5,7 +5,7 @@
.alert-message.error.status_info
Closed
-
else
.alert-message.success.status_info
Open
=
gfm
@merge_request
.
title
=
gfm
escape_once
(
@merge_request
.
title
)
.middle_box_content
%div
...
...
app/views/milestones/show.html.haml
View file @
ba72c6f6
...
...
@@ -21,7 +21,7 @@
.alert-message.error.status_info
Closed
-
else
.alert-message.success.status_info
Open
=
gfm
@milestone
.
title
=
gfm
escape_once
(
@milestone
.
title
)
%small
.right
=
@milestone
.
expires_at
.middle_box_content
...
...
app/views/repositories/_branch.html.haml
View file @
ba72c6f6
...
...
@@ -11,7 +11,7 @@
%code
=
commit
.
short_id
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
""
,
width:
16
=
gfm
truncate
(
commit
.
title
,
length:
40
)
=
gfm
escape_once
(
truncate
(
commit
.
title
,
length:
40
)
)
%span
.update-author.right
=
time_ago_in_words
(
commit
.
committed_date
)
ago
...
...
app/views/repositories/_feed.html.haml
View file @
ba72c6f6
...
...
@@ -13,7 +13,7 @@
=
link_to
project_commits_path
(
@project
,
commit
.
id
)
do
%code
=
commit
.
short_id
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
""
,
width:
16
=
gfm
truncate
(
commit
.
title
,
length:
40
)
=
gfm
escape_once
(
truncate
(
commit
.
title
,
length:
40
)
)
%td
%span
.right.cgray
=
time_ago_in_words
(
commit
.
committed_date
)
...
...
app/views/repositories/tags.html.haml
View file @
ba72c6f6
...
...
@@ -17,7 +17,7 @@
=
link_to
project_commit_path
(
@project
,
commit
.
id
)
do
%code
=
commit
.
short_id
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
""
,
width:
16
=
gfm
truncate
(
commit
.
title
,
length:
40
)
=
gfm
escape_once
(
truncate
(
commit
.
title
,
length:
40
)
)
%td
%span
.update-author.right
=
time_ago_in_words
(
commit
.
committed_date
)
...
...
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