mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
Remove .html_safe from activity
Closes SCI-3257
This commit is contained in:
parent
5443bfcbd1
commit
85bbdcf4b3
|
@ -2,9 +2,9 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<% if activity.old_activity? %>
|
||||
<%= activity.message&.html_safe %>
|
||||
<%= activity.message %>
|
||||
<% else %>
|
||||
<%= generate_activity_content(activity).html_safe %>
|
||||
<%= generate_activity_content(activity) %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue