[buddypress-trac] [BuddyPress Trac] #8063: Multi-Line Text Area loses existing formatting on re-edit

buddypress-trac noreply at wordpress.org
Thu Mar 21 14:51:10 UTC 2019


#8063: Multi-Line Text Area loses existing formatting on re-edit
------------------------------+---------------------
 Reporter:  neilgee           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0.0
Component:  Extended Profile  |     Version:  2.1
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+---------------------
Changes (by boonebgorges):

 * version:  4.1.0 => 2.1
 * component:  Core => Extended Profile
 * milestone:  Awaiting Review => 5.0.0


Comment:

 Hi @neilgee - Thanks very much for the report.

 I've confirmed the issue. It's due to some inconsistent HTML filtering. At
 the time of profile save, rich text field values are sanitized using an
 expanded set of allowed HTML tags. At the time of profile display, the
 sanitization is too broad - because of the way the legacy logic worked,
 the expanded set of HTML tags is ignored in this case. See #5742, #5625.

 I'll put a fix in place.

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


More information about the buddypress-trac mailing list