Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update app/views/refinery/inquiries/inquiry_mailer/notification.text.erb #100

Closed
wants to merge 1 commit into from

3 participants

@toymachiner62

Added .html_safe to message so that it decodes special characters

@toymachiner62 toymachiner62 Update app/views/refinery/inquiries/inquiry_mailer/notification.text.erb
Added .html_safe to message so that it decodes special characters
935afd2
@keram

-1
I will rather remove strip_tags method than add .html_safe,

@toymachiner62

That works too!

@toymachiner62

Is this going to get merged?

@ugisozols
Owner

#109 was merged so closing this.

@ugisozols ugisozols closed this
@toymachiner62 toymachiner62 deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2013
  1. @toymachiner62

    Update app/views/refinery/inquiries/inquiry_mailer/notification.text.erb

    toymachiner62 authored
    Added .html_safe to message so that it decodes special characters
This page is out of date. Refresh to see the latest.
View
2  app/views/refinery/inquiries/inquiry_mailer/notification.text.erb
@@ -8,7 +8,7 @@
<%=raw t('.email') %>: <%= @inquiry.email %>
<%=raw t('.phone') %>: <%= @inquiry.phone %>
<%=raw t('.message') %>:
-<%=strip_tags(@inquiry.message) %>
+<%=strip_tags(@inquiry.message).html_safe %>
<%=raw t('.inquiry_ends') %>
Something went wrong with that request. Please try again.