Commit 42f04bf70c279f941f70c5bba547493d51a28f03
1 parent
700eec66
Exists in
master
and in
4 other branches
bug fix: broken indents fixed in markdown rendered statements
Showing
5 changed files
with
10 additions
and
5 deletions
Show diff stats
app/views/issues/show.html.haml
app/views/milestones/show.html.haml
app/views/notes/_show.html.haml
... | ... | @@ -9,7 +9,8 @@ |
9 | 9 | %strong= link_to "Remove", [@project, note], :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "cred delete-note btn small" |
10 | 10 | |
11 | 11 | %div.note-title |
12 | - = markdown(note.note) | |
12 | + = preserve do | |
13 | + = markdown(note.note) | |
13 | 14 | - if note.attachment.url |
14 | 15 | .right |
15 | 16 | %div.file | ... | ... |
app/views/refs/_tree.html.haml
app/views/wikis/show.html.haml
... | ... | @@ -8,7 +8,8 @@ |
8 | 8 | Edit |
9 | 9 | %hr |
10 | 10 | .wiki_content |
11 | - = markdown_to_html @wiki.content | |
11 | + = preserve do | |
12 | + = markdown_to_html @wiki.content | |
12 | 13 | |
13 | 14 | %p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at} |
14 | 15 | - if can? current_user, :admin_wiki, @project | ... | ... |