Use markdown to render the project description.

This commit is contained in:
Ariejan de Vroom 2012-03-14 12:34:03 +02:00
parent b27f8fd503
commit 317963b1ab

View file

@ -20,7 +20,8 @@
%span.add-on git clone %span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url" = text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
= simple_format @project.description - if @project.description.present?
= markdown @project.description
- unless @events.blank? - unless @events.blank?
%h5.cgray Recent Activity %h5.cgray Recent Activity
.content_list= render @events .content_list= render @events