From 669b2342ffec775cffb7a757edf83059a2b722b1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 23 Mar 2007 19:00:48 +0000 Subject: [PATCH] added some parenthesis in views git-svn-id: http://redmine.rubyforge.org/svn/trunk@372 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_history.rhtml | 2 +- app/views/issues/show.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml index cc02eee4e..ad5141581 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 98e88671c..dc386d597 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 %>