Commit 31280cd4 authored by Nihad Abbasov's avatar Nihad Abbasov

fix markdown truncation on dashboard

parent 1f3323f9
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment