diff --git a/app/views/my_projects_overviews/_block_textilizable.html.erb b/app/views/my_projects_overviews/_block_textilizable.html.erb index 12a87ec511..4dcd41dfb4 100644 --- a/app/views/my_projects_overviews/_block_textilizable.html.erb +++ b/app/views/my_projects_overviews/_block_textilizable.html.erb @@ -37,7 +37,7 @@ See doc/COPYRIGHT.md for more details. <%= hidden_field_tag 'block_name', block_name %> <%= text_field_tag "block_title_#{block_name}", block_title %> - <%= text_area_tag "textile_#{block_name}", textile, cols: 40, rows: 5, class: 'wiki-edit' %> + <%= text_area_tag "textile_#{block_name}", textile.html_safe, cols: 40, rows: 5, class: 'wiki-edit' %> <%= wikitoolbar_for "textile_#{block_name}" %>


<%= render partial: 'attachments/form' %> diff --git a/app/views/my_projects_overviews/_textilizable.html.erb b/app/views/my_projects_overviews/_textilizable.html.erb index 9e65dc8e6e..cfb263081e 100644 --- a/app/views/my_projects_overviews/_textilizable.html.erb +++ b/app/views/my_projects_overviews/_textilizable.html.erb @@ -29,8 +29,8 @@ See doc/COPYRIGHT.md for more details. <% if defined? block_name %>

- <%= textilizable(textile, :object => overview) %> + <%= format_text(textile, :object => overview) %>
<% else %> - <%= textilizable(textile, :object => overview) %> + <%= format_text(textile, :object => overview) %> <% end %>