[Git][noosfero/noosfero][master] should not escape portal identifier link iun set portal community action

Leandro Nunes gitlab at mg.gitlab.com
Fri May 13 21:14:59 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
d284b8bc by Leandro Nunes dos Santos at 2016-05-13T21:14:38-03:00
should not escape portal identifier link iun set portal community action

- - - - -


1 changed file:

- app/views/admin_panel/set_portal_community.html.erb


Changes:

=====================================
app/views/admin_panel/set_portal_community.html.erb
=====================================
--- a/app/views/admin_panel/set_portal_community.html.erb
+++ b/app/views/admin_panel/set_portal_community.html.erb
@@ -9,7 +9,7 @@
     <% end %>
   <% end %>
 <% else %>
-  <%= _('Portal identifier: %s') % link_to(@portal_community.identifier, @portal_community.url) %>
+  <%= _('Portal identifier: %s').html_safe % link_to(@portal_community.identifier, @portal_community.url) %>
 
   <% button_bar do %>
     <%if @portal_community.environment.enabled?('use_portal_community') %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d284b8bc43179a07e07257fe61cfe3bd4a0f4101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160514/731da824/attachment-0001.html>


More information about the Noosfero-dev mailing list