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

CommentFileSizeAuthor
simplenews.module.html_to_text.patch3.01 KBejort

Comments

DriesK’s picture

Status: Needs review » Fixed
osherl’s picture

Anonymous’s picture

DriesK’s picture

Status: Fixed » Closed (fixed)

Closed because the automatic close feature in project module is broken, and the issue list is becoming cluttered.