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
Boxiang Sun
gitlab-ce
Commits
42f04bf7
Commit
42f04bf7
authored
Apr 11, 2012
by
Kei Kubo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix: broken indents fixed in markdown rendered statements
parent
700eec66
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
app/views/issues/show.html.haml
app/views/issues/show.html.haml
+2
-1
app/views/milestones/show.html.haml
app/views/milestones/show.html.haml
+2
-1
app/views/notes/_show.html.haml
app/views/notes/_show.html.haml
+2
-1
app/views/refs/_tree.html.haml
app/views/refs/_tree.html.haml
+2
-1
app/views/wikis/show.html.haml
app/views/wikis/show.html.haml
+2
-1
No files found.
app/views/issues/show.html.haml
View file @
42f04bf7
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
-
if
@issue
.
description
.
present?
-
if
@issue
.
description
.
present?
.bottom_box_content
.bottom_box_content
=
preserve
do
=
markdown
@issue
.
description
=
markdown
@issue
.
description
...
...
app/views/milestones/show.html.haml
View file @
42f04bf7
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
-
if
@milestone
.
description
.
present?
-
if
@milestone
.
description
.
present?
.bottom_box_content
.bottom_box_content
=
preserve
do
=
markdown
@milestone
.
description
=
markdown
@milestone
.
description
...
...
app/views/notes/_show.html.haml
View file @
42f04bf7
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
%strong
=
link_to
"Remove"
,
[
@project
,
note
],
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:remote
=>
true
,
:class
=>
"cred delete-note btn small"
%strong
=
link_to
"Remove"
,
[
@project
,
note
],
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:remote
=>
true
,
:class
=>
"cred delete-note btn small"
%div
.note-title
%div
.note-title
=
preserve
do
=
markdown
(
note
.
note
)
=
markdown
(
note
.
note
)
-
if
note
.
attachment
.
url
-
if
note
.
attachment
.
url
.right
.right
...
...
app/views/refs/_tree.html.haml
View file @
42f04bf7
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
%h3
=
content
.
name
%h3
=
content
.
name
.readme
.readme
-
if
content
.
name
=~
/\.(md|markdown)$/i
-
if
content
.
name
=~
/\.(md|markdown)$/i
=
preserve
do
=
markdown
(
content
.
data
)
=
markdown
(
content
.
data
)
-
else
-
else
=
simple_format
(
content
.
data
)
=
simple_format
(
content
.
data
)
...
...
app/views/wikis/show.html.haml
View file @
42f04bf7
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
Edit
Edit
%hr
%hr
.wiki_content
.wiki_content
=
preserve
do
=
markdown_to_html
@wiki
.
content
=
markdown_to_html
@wiki
.
content
%p
.time
Last edited by
#{
@wiki
.
user
.
name
}
, in
#{
time_ago_in_words
@wiki
.
created_at
}
%p
.time
Last edited by
#{
@wiki
.
user
.
name
}
, in
#{
time_ago_in_words
@wiki
.
created_at
}
...
...
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