From 317963b1ab6dcf6cf7ccd4aaa6f5928128651878 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Wed, 14 Mar 2012 12:34:03 +0200 Subject: [PATCH] Use markdown to render the project description. --- app/views/projects/show.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index cbac11806c6..89a3a4265e4 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -20,7 +20,8 @@ %span.add-on git clone = 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? %h5.cgray Recent Activity .content_list= render @events