Commit 31280cd4cb733d25f2644788931e498eca86c477
1 parent
1f3323f9
Exists in
master
and in
4 other branches
fix markdown truncation on dashboard
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/_recent_messages.html.haml
@@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
40 | %p{:style => "margin-bottom: 3px;"} | 40 | %p{:style => "margin-bottom: 3px;"} |
41 | %span.author | 41 | %span.author |
42 | = note.author.name | 42 | = note.author.name |
43 | - = link_to truncate(markdown(note.note), :length => 200), link_to_item + "#note_#{note.id}" | 43 | + = link_to markdown(truncate(note.note, :length => 200)), link_to_item + "#note_#{note.id}" |
44 | - if note.attachment.url | 44 | - if note.attachment.url |
45 | %br | 45 | %br |
46 | Attachment: | 46 | Attachment: |