[Git][noosfero/noosfero][master] Adds html_safe to work_assignment plugin articles
Tallys Martins
gitlab at mg.gitlab.com
Tue Apr 4 16:14:02 BRT 2017
Tallys Martins pushed to branch master at Noosfero / noosfero
Commits:
ff8a72d0 by Tallys Martins at 2017-04-04T16:12:50-03:00
Adds html_safe to work_assignment plugin articles
Signed-off-by: Pedro de Lyra <pedrodelyra at gmail.com>
Signed-off-by: Tallys Martins <tallysmartins at gmail.com>
- - - - -
1 changed file:
- plugins/work_assignment/views/content_viewer/work_assignment.html.erb
Changes:
=====================================
plugins/work_assignment/views/content_viewer/work_assignment.html.erb
=====================================
--- a/plugins/work_assignment/views/content_viewer/work_assignment.html.erb
+++ b/plugins/work_assignment/views/content_viewer/work_assignment.html.erb
@@ -1,7 +1,7 @@
<% extend WorkAssignmentPlugin::Helper %>
<% unless @page.body.blank? %>
- <div><%= @page.body %></div>
+ <div><%= @page.body.html_safe %></div>
<hr/>
<% end %>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/ff8a72d0d331900a9afaa07a1d5c68585344da26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170404/094a38c6/attachment.html>
More information about the Noosfero-dev
mailing list