Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#51707 new enhancement

Add white-space as an allowed kses CSS attribute.

Reported by: whyisjake Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.3.1
Component: Formatting Keywords: has-patch
Focuses: Cc:


white-space has wide browser support, and users would benefit from not having it stripped while adding to posts.


Attachments (2)

51707.diff (329 bytes) - added by whyisjake 5 months ago.
51707.patch (694 bytes) - added by mukesh27 5 months ago.
Added doc for "white-space"

Download all attachments as: .zip

Change History (4)

5 months ago

#1 @mukesh27
5 months ago

  • Keywords has-patch added; needs-patch removed

Patch 51707.diff looks fine for me and white-space support in all latest browser as per https://developer.mozilla.org/en-US/docs/Web/CSS/white-space article.

5 months ago

Added doc for "white-space"

#2 @hellofromTonya
5 months ago

  • Version changed from trunk to 5.3.1
Note: See TracTickets for help on using tickets.