[buddypress-trac] [BuddyPress Trac] #6933: Emails: Do not strip HTML content for email content (was: Emails: Do not strip all HTML content for plain-text emails)

buddypress-trac noreply at wordpress.org
Wed Mar 2 19:01:21 UTC 2016


#6933: Emails: Do not strip HTML content for email content
--------------------------+-----------------------------
 Reporter:  r-a-y         |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  API - Emails  |     Version:  2.5.0
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Description changed by r-a-y:

Old description:

> Currently, we strip HTML tags to render the plain-text email content.
>
> This isn't great as some content will be lost such as links and textual
> emphasis (bold, italic, etc.).
>
> We should preferably do some type of HTML to plain-text conversion
> (perhaps to Markdown?) for accessibility reasons.

New description:

 Currently, we strip HTML tags to render the email content.

 This isn't great as some content will be lost such as links and textual
 emphasis (bold, italic, etc.).

 For HTML emails, we should add a customized version of KSES here.

 For plain-text emails, we should preferably do some type of HTML to plain-
 text conversion (perhaps to Markdown?) for accessibility reasons.

--

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6933#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list