diff options
author | Ariejan de Vroom <ariejan@ariejan.net> | 2012-03-14 14:34:03 +0400 |
---|---|---|
committer | Ariejan de Vroom <ariejan@ariejan.net> | 2012-03-14 14:34:03 +0400 |
commit | 317963b1ab6dcf6cf7ccd4aaa6f5928128651878 (patch) | |
tree | 2d613faeb761f5167de39942b5c7091fb65a40b8 /app | |
parent | b27f8fd503e2fec68bd116ffd3c3d5857a84f89b (diff) |
Use markdown to render the project description.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |