When receiving my newsletter, the title was "C'est chaud, c'est piquant!....." but should be "C'est chaud, c'est piquant! ...."
The online version is here http://www.salsamontreal.com/cest_chaud_cest_piquant_la_publication_grat...
This was working correctly in the 4.7 version (yeah, I know it's far)
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | simplenews.348392_1.patch | 1.7 KB | sutharsan |
| #7 | simplenews.348392.patch | 1.42 KB | sutharsan |
| #3 | Picture 2.png | 27.22 KB | sutharsan |
| #2 | simplenews.png | 29.75 KB | alexandreracine |
Comments
Comment #1
alexandreracine commentedChanged title to something more clear.
Comment #2
alexandreracine commentedHo wow! Looking this issue back, drupal.org just translated back the caracters correctly, LOL. So here is a screenshot of the newsletter in my gmail account.
Comment #3
sutharsan commentedAttached is my screen shot of a plain text newsletter send with the latest 6.x-1.x-dev release. Both in Gmail and mac's mail title and body look good. I can not reproduce you error.
Is it mime mail related, is it server related?
Comment #4
sutharsan commentedDuplicated issue: #320605: accents from Site name and Newsletter name displayed in html code instead of actual accent
Comment #5
gdoteof commentedAmpersands even in your screen shot are being converted. This is happening both with titles and "from" names.
Comment #6
sutharsan commentedYou are right, the '&' was a last minute addition to the test and I overlooked it in the result. The html characters are the result of security measures (check_plain()) on the title. I will investigate if we can remove this.
Comment #7
sutharsan commentedThe attached patch should fix the issue. But I will wait committing until it gets 'security clearance'.
Comment #8
gdoteof commentedThe '&' is still being converted on the 'From' name, though it is fixed in the title/subject with that patch, thanks
Comment #9
sutharsan commentedPatch updated for 'From' name.
Title changed to better describe the problem.
Comment #10
sutharsan commentedI have gotten two confirmations that title and name are treated as plain text by mail clients. Therefore I conclude that it is safe to remove the check_plain() from both title and from-name.
Patch committed.
Comment #11
alexandreracine commentedMmmm, I'll have to wait to test since I can't send email with my test machine. Sounds good :)