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 %>