[Git][noosfero/noosfero][master] fix radio_group html escape

Leandro Nunes gitlab at mg.gitlab.com
Tue Aug 30 18:21:41 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
a463ffe9 by Leandro Nunes dos Santos at 2016-08-30T18:21:09-03:00
fix radio_group html escape

- - - - -


1 changed file:

- app/helpers/application_helper.rb


Changes:

=====================================
app/helpers/application_helper.rb
=====================================
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -539,7 +539,7 @@ module ApplicationHelper
         )
       label_html = self.class.content_tag 'label', text,
                                         :class => 'formlabel'
-      control_html = self.class.content_tag 'div', html,
+      control_html = self.class.content_tag 'div', html.html_safe,
                                         :class => 'formfield type-radio '+
                                         'fieldgroup linesize'+line_size.to_s()
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/a463ffe90058ef7793f127a3f7d4f10db473517e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160830/1610848b/attachment.html>


More information about the Noosfero-dev mailing list