summaryrefslogtreecommitdiff
path: root/app/views/notes
diff options
context:
space:
mode:
authorKei Kubo <keikubo@gmail.com>2012-04-11 19:36:52 +0000
committerKei Kubo <keikubo@gmail.com>2012-04-11 19:36:52 +0000
commit42f04bf70c279f941f70c5bba547493d51a28f03 (patch)
tree7b80c7d9287f7319b7a351d7390d518ca0447e47 /app/views/notes
parent700eec6672b7eeb3f8e52b802d3e3ecadd08c339 (diff)
downloadgitlab-ce-42f04bf70c279f941f70c5bba547493d51a28f03.tar.gz
bug fix: broken indents fixed in markdown rendered statements
Diffstat (limited to 'app/views/notes')
-rw-r--r--app/views/notes/_show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/notes/_show.html.haml b/app/views/notes/_show.html.haml
index 916fda06271..77b15738610 100644
--- a/app/views/notes/_show.html.haml
+++ b/app/views/notes/_show.html.haml
@@ -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