getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Escape single quote #80

Closed clabnet closed 1 year ago

clabnet commented 6 years ago

I need to see correctly the single quote ' into email html body. The result is always ' How to ? Thank's

rhukster commented 6 years ago

is the single quote escaped when you 'read' the HTML email? It should be fine if its escaped in the HTML itself, but the viewer should transform the escaped value when the HTML is rendered to the display.

dvdfox commented 6 years ago

I'm using email plugin straight out of the box and works okay except that emails received show the apostrophes and quote marks as ascii codes (like clabnet says above) instead of being rendered correctly. They appear as ascii codes in both the sent email and the confirmation screen after submitting the form. I'm sure this is because text input in the form is escaped for security. Is there a way to get back the characters prior to sending the mail and rendering the message confirmation page? Sample below:

screen shot 2018-05-10 at 4 47 44 pm
rhukster commented 6 years ago

Duplicate: https://github.com/getgrav/grav-plugin-form/issues/236