Hi,
I was hoping to have a slightly improved conversion from HTML to text than what strip_tags() provides. This problem has already been solved a few times in project.module and notify.module (and maybe others), so I copied the notify.module notify_html_to_text() function, along with the required helpers to simplenews.
This provides URL footnote referencing and conversion of entities etc for plain text emails.
Cheers,
Eric
| Comment | File | Size | Author |
|---|---|---|---|
| simplenews.module.html_to_text.patch | 3.01 KB | ejort |
Comments
Comment #1
DriesK commentedComment #2
osherl commentedComment #3
(not verified) commentedComment #4
DriesK commentedClosed because the automatic close feature in project module is broken, and the issue list is becoming cluttered.