From 669b2342ffec775cffb7a757edf83059a2b722b1 2007-03-23 19:00:48 From: Jean-Philippe Lang Date: 2007-03-23 19:00:48 Subject: [PATCH] added some parenthesis in views git-svn-id: http://redmine.rubyforge.org/svn/trunk@372 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml index cc02eee..ad51415 100644 --- a/app/views/issues/_history.rhtml +++ b/app/views/issues/_history.rhtml @@ -6,6 +6,6 @@ <% end %> <% if journal.notes? %> - <%= textilizable journal.notes %> + <%= textilizable(journal.notes) %> <% end %> <% end %> diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 98e8867..dc386d5 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -34,7 +34,7 @@ <% n = 0 for custom_value in @custom_values %> - <%= custom_value.custom_field.name %> :<%=h show_value custom_value %> + <%= custom_value.custom_field.name %> :<%= h(show_value(custom_value)) %> <% n = n + 1 if (n > 1) n = 0 %>