---
app/views/users/_list.html.erb | 2 +-
app/views/users/_user.html.erb | 2 +-
app/views/users/show.html.erb | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/views/users/_list.html.erb b/app/views/users/_list.html.erb
index 7c21bdd..162e01f 100644
--- a/app/views/users/_list.html.erb
+++ b/app/views/users/_list.html.erb
@@ -30,7 +30,7 @@
<tr class="<%= row_class %>">
<td><%= "#{user.id}" %></td>
<td><%= user.display_name %></td>
- <td><%= simple_format user.introduction %></td>
+ <td><%= RedCloth.new(get_first_sentence(user.introduction)).to_html
%></td>
<td><%= mail_to user.email, user.display_name %></td>
<td><%= link_to "#{user.backlog.size} items",
backlog_user_path(user) %>
<td><%= link_to "#{user.product_roles.size} roles",
roles_user_path(user) %></td>
diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb
index 253f10b..c1950fa 100644
--- a/app/views/users/_user.html.erb
+++ b/app/views/users/_user.html.erb
@@ -18,7 +18,7 @@
</tr>
<tr>
- <td class="text" colspan="2"><%= simple_format
user.introduction %></td>
+ <td class="text" colspan="2"><%=
RedCloth.new(user.introduction).to_html %></td>
</tr>
</tbody>
</table>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index f3397c4..4414c78 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -24,7 +24,7 @@
<tr>
<td class="text" colspan="2">
- <%= simple_format @this_user.introduction %></td>
+ <%= RedCloth.new((a)this_user.introduction).to_html %></td>
</tr>
</tbody>
</table>
--
1.6.0.6