提交 31280cd4 编写于 作者: N Nihad Abbasov

fix markdown truncation on dashboard

上级 1f3323f9
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
%p{:style => "margin-bottom: 3px;"} %p{:style => "margin-bottom: 3px;"}
%span.author %span.author
= note.author.name = 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 - if note.attachment.url
%br %br
Attachment: Attachment:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册