summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-23 19:00:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-23 19:00:48 +0000
commit669b2342ffec775cffb7a757edf83059a2b722b1 (patch)
tree1fbe44eeaa19124fad53571600d97a20918ba789 /app/views
parent1493c2a9b4d1104bb5ee90df8b591d8391986036 (diff)
downloadredmine-669b2342ffec775cffb7a757edf83059a2b722b1.tar.gz
redmine-669b2342ffec775cffb7a757edf83059a2b722b1.zip
added some parenthesis in views
git-svn-id: http://redmine.rubyforge.org/svn/trunk@372 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/_history.rhtml2
-rw-r--r--app/views/issues/show.rhtml2
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 %>
</ul>
<% 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 @@
<tr>
<% n = 0
for custom_value in @custom_values %>
- <td><b><%= custom_value.custom_field.name %> :</b></td><td><%=h show_value custom_value %></td>
+ <td><b><%= custom_value.custom_field.name %> :</b></td><td><%= h(show_value(custom_value)) %></td>
<% n = n + 1
if (n > 1)
n = 0 %>