bug fix: broken indents fixed in markdown rendered statements
This commit is contained in:
parent
700eec6672
commit
42f04bf70c
|
@ -42,7 +42,8 @@
|
||||||
|
|
||||||
- if @issue.description.present?
|
- if @issue.description.present?
|
||||||
.bottom_box_content
|
.bottom_box_content
|
||||||
= markdown @issue.description
|
= preserve do
|
||||||
|
= markdown @issue.description
|
||||||
|
|
||||||
|
|
||||||
.issue_notes#notes= render "notes/notes", :tid => @issue.id, :tt => "issue"
|
.issue_notes#notes= render "notes/notes", :tid => @issue.id, :tt => "issue"
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
|
|
||||||
- if @milestone.description.present?
|
- if @milestone.description.present?
|
||||||
.bottom_box_content
|
.bottom_box_content
|
||||||
= markdown @milestone.description
|
= preserve do
|
||||||
|
= markdown @milestone.description
|
||||||
|
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
%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
|
||||||
= markdown(note.note)
|
= preserve do
|
||||||
|
= markdown(note.note)
|
||||||
- if note.attachment.url
|
- if note.attachment.url
|
||||||
.right
|
.right
|
||||||
%div.file
|
%div.file
|
||||||
|
|
|
@ -41,7 +41,8 @@
|
||||||
%h3= content.name
|
%h3= content.name
|
||||||
.readme
|
.readme
|
||||||
- if content.name =~ /\.(md|markdown)$/i
|
- if content.name =~ /\.(md|markdown)$/i
|
||||||
= markdown(content.data)
|
= preserve do
|
||||||
|
= markdown(content.data)
|
||||||
- else
|
- else
|
||||||
= simple_format(content.data)
|
= simple_format(content.data)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
Edit
|
Edit
|
||||||
%hr
|
%hr
|
||||||
.wiki_content
|
.wiki_content
|
||||||
= markdown_to_html @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}
|
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at}
|
||||||
- if can? current_user, :admin_wiki, @project
|
- if can? current_user, :admin_wiki, @project
|
||||||
|
|
Loading…
Reference in a new issue