From 31280cd4cb733d25f2644788931e498eca86c477 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Mon, 31 Oct 2011 13:47:10 +0400 Subject: [PATCH] fix markdown truncation on dashboard --- app/views/projects/_recent_messages.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/_recent_messages.html.haml b/app/views/projects/_recent_messages.html.haml index b38ba4831b5..e5fb28b9eac 100644 --- a/app/views/projects/_recent_messages.html.haml +++ b/app/views/projects/_recent_messages.html.haml @@ -40,7 +40,7 @@ %p{:style => "margin-bottom: 3px;"} %span.author = note.author.name - = link_to truncate(markdown(note.note), :length => 200), link_to_item + "#note_#{note.id}" + = link_to markdown(truncate(note.note, :length => 200)), link_to_item + "#note_#{note.id}" - if note.attachment.url %br Attachment: -- GitLab