From f7a7dff53bc062df7bbaeb9c8e6b83d9e4ba6a54 Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Sun, 12 Dec 2010 00:50:30 -0800
Subject: [PATCH] allow for newlines in profile bio

---
 app/views/people/_profile_sidebar.html.haml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml
index 33cf92078f..c8ec15c839 100644
--- a/app/views/people/_profile_sidebar.html.haml
+++ b/app/views/people/_profile_sidebar.html.haml
@@ -33,13 +33,12 @@
             %li
               = link_to aspect.name, aspect
               = link_to "x", {:controller => "aspects", :action => "remove_from_aspect", :person_id => person.id, :aspect_id => aspect.id}, :confirm => t('.remove_from', :name => person.name, :aspect => aspect), :remote => true, :class => "delete"
-              
 
   -if is_contact || person == current_user.person
     %ul#profile_information
-      %li  
+      %li
         %h3 #{t('.bio')}
-        = person.profile.bio
+        = markdownify(person.profile.bio, :newlines => true)
 
       %li
         .span-4
-- 
GitLab