Add markdown to events abstract

This commit is contained in:
Ana 2016-08-09 00:05:16 +02:00
parent 60877e9593
commit 72cd463dc7
8 changed files with 10 additions and 19 deletions

View file

@ -12,7 +12,7 @@
%h4
presented by #{event.speaker_names}
%p
= truncate(event.abstract, :length => 400)
= markdown(truncate(event.abstract, :length => 400))
= link_to 'more', conference_program_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400
- if event_schedule.present?
%span.track