[Git][noosfero/noosfero][master] newsletter-plugin: html safe

Rodrigo Souto gitlab at mg.gitlab.com
Thu Feb 2 16:50:12 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
6f213b66 by Rodrigo Souto at 2017-02-02T15:49:57-03:00
newsletter-plugin: html safe

- - - - -


1 changed file:

- plugins/newsletter/lib/newsletter_plugin/newsletter.rb


Changes:

=====================================
plugins/newsletter/lib/newsletter_plugin/newsletter.rb
=====================================
--- a/plugins/newsletter/lib/newsletter_plugin/newsletter.rb
+++ b/plugins/newsletter/lib/newsletter_plugin/newsletter.rb
@@ -136,7 +136,7 @@ class NewsletterPlugin::Newsletter < ApplicationRecord
         else
           post_without_image(post)
         end
-      end.join().html_safe+content_tag(:tr, content_tag(:td, self.footer, :colspan => 2)),:style => CSS['breakingnews']).html_safe+content_tag(:div,message_to_unsubscribe, :style => CSS['newsletter-unsubscribe']),:style => CSS['breakingnews-wrap']).html_safe
+      end.join().html_safe+content_tag(:tr, content_tag(:td, self.footer.html_safe, :colspan => 2)),:style => CSS['breakingnews']).html_safe+content_tag(:div,message_to_unsubscribe, :style => CSS['newsletter-unsubscribe']),:style => CSS['breakingnews-wrap']).html_safe
   end
 
   def default_subject



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


More information about the Noosfero-dev mailing list