[Git][noosfero/noosfero][master] html safe fix in addthis javascript

Leandro Nunes gitlab at mg.gitlab.com
Fri May 6 09:19:40 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
6f6d0855 by Leandro Nunes dos Santos at 2016-05-06T09:19:24-03:00
html safe fix in addthis javascript

- - - - -


1 changed file:

- app/views/layouts/application-ng.html.erb


Changes:

=====================================
app/views/layouts/application-ng.html.erb
=====================================
--- a/app/views/layouts/application-ng.html.erb
+++ b/app/views/layouts/application-ng.html.erb
@@ -82,7 +82,7 @@
       </div><!-- end id="global-footer" -->
     </div><!-- end id="footer" -->
     <%= noosfero_layout_features %>
-    <%= addthis_javascript %>
+    <%= addthis_javascript.html_safe %>
     <%=
       str = (@plugins.dispatch(:body_ending).map do |content|
               if content.respond_to?(:call) then 



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/6f6d0855bf9b7e2f01f1d66d0b07c98730bf0f75
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160506/2339c36e/attachment.html>


More information about the Noosfero-dev mailing list