Skip to content
Snippets Groups Projects
Commit eeda3312 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

html safe

parent 131572e8
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,6 @@ end
<% if value.blank? %>
<i class="fa fa-exclamation-circle text-danger"></i>
<% else %>
<%= strip_tags(value).truncate 200 %>
<%= strip_tags(value).truncate(200).html_safe %>
<% end %>
</p>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment