use helper to markdown text
This commit is contained in:
parent
6c7706eb17
commit
1f3323f908
3 changed files with 6 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
%p{:style => "margin-bottom: 3px;"}
|
||||
%span.author
|
||||
= note.author.name
|
||||
= link_to truncate(note.note, :length => 200), link_to_item + "#note_#{note.id}"
|
||||
= link_to truncate(markdown(note.note), :length => 200), link_to_item + "#note_#{note.id}"
|
||||
- if note.attachment.url
|
||||
%br
|
||||
Attachment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue