fix markdown truncation on dashboard

This commit is contained in:
Nihad Abbasov 2011-10-31 13:47:10 +04:00
parent 1f3323f908
commit 31280cd4cb

View file

@ -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: