Commit 31280cd4cb733d25f2644788931e498eca86c477

Authored by Nihad Abbasov
1 parent 1f3323f9

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 40 %p{:style => "margin-bottom: 3px;"}
41 41 %span.author
42 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 44 - if note.attachment.url
45 45 %br
46 46 Attachment:
... ...