[Git][noosfero/noosfero][master] Not escape html in terms of use

Victor Costa gitlab at mg.gitlab.com
Thu Aug 4 16:23:34 BRT 2016


Victor Costa pushed to branch master at Noosfero / noosfero


Commits:
c40bc786 by Victor Costa at 2016-08-04T16:23:07-03:00
Not escape html in terms of use

- - - - -


1 changed file:

- app/views/home/terms.html.erb


Changes:

=====================================
app/views/home/terms.html.erb
=====================================
--- a/app/views/home/terms.html.erb
+++ b/app/views/home/terms.html.erb
@@ -1,2 +1,2 @@
 <h1><%= _('Terms of use - %s') % environment.name %></h1>
-<%= environment.terms_of_use %>
+<%= environment.terms_of_use.html_safe %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/c40bc786d78c08fe860f664dad2edf40e075610f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160804/8a1aaf2e/attachment.html>


More information about the Noosfero-dev mailing list