Impossible to use macro in the revision comment field. #1313
This commit is contained in:
parent
49dfd8b657
commit
063646b96d
@ -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 %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user