summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-10-31 13:47:10 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2011-10-31 13:47:10 +0400
commit31280cd4cb733d25f2644788931e498eca86c477 (patch)
treec18adc89a0513eb2d33882042cc332e6ea3471de
parent1f3323f9088b897220dc4989ac8da0ef71001ce1 (diff)
downloadgitlab-ce-31280cd4cb733d25f2644788931e498eca86c477.tar.gz
fix markdown truncation on dashboard
-rw-r--r--app/views/projects/_recent_messages.html.haml2
1 files changed, 1 insertions, 1 deletions
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: