Commit 42f04bf7 authored by Kei Kubo's avatar Kei Kubo

bug fix: broken indents fixed in markdown rendered statements

parent 700eec66
......@@ -42,6 +42,7 @@
- if @issue.description.present?
.bottom_box_content
= preserve do
= markdown @issue.description
......
......@@ -39,6 +39,7 @@
- if @milestone.description.present?
.bottom_box_content
= preserve do
= markdown @milestone.description
......
......@@ -9,6 +9,7 @@
%strong= link_to "Remove", [@project, note], :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "cred delete-note btn small"
%div.note-title
= preserve do
= markdown(note.note)
- if note.attachment.url
.right
......
......@@ -41,6 +41,7 @@
%h3= content.name
.readme
- if content.name =~ /\.(md|markdown)$/i
= preserve do
= markdown(content.data)
- else
= simple_format(content.data)
......
......@@ -8,6 +8,7 @@
Edit
%hr
.wiki_content
= preserve do
= markdown_to_html @wiki.content
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at}
......
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