Skip to content
Snippets Groups Projects
Commit 42f04bf7 authored by Kei Kubo's avatar Kei Kubo
Browse files

bug fix: broken indents fixed in markdown rendered statements

parent 700eec66
No related branches found
No related tags found
1 merge request!667The indents errors of pre blocks in haml
Loading
Loading
@@ -42,7 +42,8 @@
- if @issue.description.present?
.bottom_box_content
= markdown @issue.description
= preserve do
= markdown @issue.description
 
 
.issue_notes#notes= render "notes/notes", :tid => @issue.id, :tt => "issue"
Loading
Loading
@@ -39,7 +39,8 @@
 
- if @milestone.description.present?
.bottom_box_content
= markdown @milestone.description
= preserve do
= markdown @milestone.description
 
 
:javascript
Loading
Loading
Loading
Loading
@@ -9,7 +9,8 @@
%strong= link_to "Remove", [@project, note], :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "cred delete-note btn small"
 
%div.note-title
= markdown(note.note)
= preserve do
= markdown(note.note)
- if note.attachment.url
.right
%div.file
Loading
Loading
Loading
Loading
@@ -41,7 +41,8 @@
%h3= content.name
.readme
- if content.name =~ /\.(md|markdown)$/i
= markdown(content.data)
= preserve do
= markdown(content.data)
- else
= simple_format(content.data)
 
Loading
Loading
Loading
Loading
@@ -8,7 +8,8 @@
Edit
%hr
.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}
- if can? current_user, :admin_wiki, @project
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment