From 063646b96db987e729ae7ab94cdc9608ff6213c5 Mon Sep 17 00:00:00 2001 From: "Karel.Picman" Date: Thu, 2 Dec 2021 09:03:48 +0100 Subject: [PATCH] Impossible to use macro in the revision comment field. #1313 --- app/views/dmsf_files/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/dmsf_files/show.html.erb b/app/views/dmsf_files/show.html.erb index 2a77e3ca..059ae3e1 100644 --- a/app/views/dmsf_files/show.html.erb +++ b/app/views/dmsf_files/show.html.erb @@ -103,7 +103,7 @@ <% if revision.description.present? %>
<%= content_tag :div, l(:label_description), class: 'label' %> - <% text = clean_wiki_text(textilizable(h(revision.description))) %> + <% text = clean_wiki_text(textilizable(revision.description)) %> <%= content_tag :div, text.html_safe, class: 'value wiki' %>
<% end %> @@ -132,7 +132,7 @@ <% if revision.comment.present? %>
<%= content_tag :div, l(:label_comment), class: 'label' %> - <% text = clean_wiki_text(textilizable(h revision.comment)) %> + <% text = clean_wiki_text(textilizable(revision.comment)) %> <%= content_tag :div, text.html_safe, class: 'value wiki' %>
<% end %>