[Git][noosfero/noosfero][master] 2 commits: newsletter-plugin: fix double escaped unsubscribe link
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Jan 29 12:54:35 BRST 2018
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
4ee36a45 by Rodrigo Souto at 2018-01-23T10:36:13-03:00
newsletter-plugin: fix double escaped unsubscribe link
- - - - -
e8e8b9f9 by Rodrigo Souto at 2018-01-29T14:54:24+00:00
Merge branch 'newsletter-html-safe' into 'master'
newsletter-plugin: fix double escaped unsubscribe link
See merge request noosfero/noosfero!1381
- - - - -
1 changed file:
- plugins/newsletter/views/newsletter_plugin/unsubscribe.html.erb
Changes:
=====================================
plugins/newsletter/views/newsletter_plugin/unsubscribe.html.erb
=====================================
--- a/plugins/newsletter/views/newsletter_plugin/unsubscribe.html.erb
+++ b/plugins/newsletter/views/newsletter_plugin/unsubscribe.html.erb
@@ -4,7 +4,7 @@
<%= _("I don't want to receive future newsletter emails from this network.") %>
</h4>
-<%= _('Send an email to %s requesting your unsubscription or click on the button below.') % link_to(environment.contact_email, "mailto:#{environment.contact_email}?subject=#{_('Cancel newsletter subscription')}") %>
+<%= _('Send an email to %s requesting your unsubscription or click on the button below.').html_safe % link_to(environment.contact_email, "mailto:#{environment.contact_email}?subject=#{_('Cancel newsletter subscription')}") %>
<%= button_bar do %>
<%= button :ok, _('Confirm unsubscription'), {:action => 'confirm_unsubscription'}, :method => 'post' %>
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/c3493613781df00230ed99d928fcbabc4ccff29f...e8e8b9f94d9dae1b203911d11538e701cc6b8cd7
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/c3493613781df00230ed99d928fcbabc4ccff29f...e8e8b9f94d9dae1b203911d11538e701cc6b8cd7
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180129/03c1ff30/attachment.html>
More information about the Noosfero-dev
mailing list