[Git][noosfero/noosfero][stable-1.7] newsletter-plugin: html safe

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


Rodrigo Souto pushed to branch stable-1.7 at Noosfero / noosfero


Commits:
f52d23f8 by Rodrigo Souto at 2017-02-02T15:50:26-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/f52d23f8121ee7c31985f49fb6d7619c7178a5fb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170202/610a0641/attachment-0001.html>


More information about the Noosfero-dev mailing list