Impossible to use macro in the revision comment field. #1313

This commit is contained in:
Karel.Picman 2021-12-02 09:03:48 +01:00
parent 49dfd8b657
commit 063646b96d

View File

@ -103,7 +103,7 @@
<% if revision.description.present? %>
<div class="status attribute">
<%= 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' %>
</div>
<% end %>
@ -132,7 +132,7 @@
<% if revision.comment.present? %>
<div class="status attribute">
<%= 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' %>
</div>
<% end %>