Opened 5 years ago
Last modified 8 days ago
#51707 new enhancement
Add white-space as an allowed kses CSS attribute.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | normal | Version: | 5.3.1 |
Component: | Formatting | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
white-space
has wide browser support, and users would benefit from not having it stripped while adding to posts.
/wp-includes/kses.php:2177
Attachments (2)
Change History (8)
This ticket was mentioned in PR #9197 on WordPress/wordpress-develop by @sukhendu2002.
9 days ago
#4
- Keywords has-unit-tests added; needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/51707
@mukesh27 commented on PR #9197:
8 days ago
#6
Thanks @Sukhendu2002 picking and refreshing the patch!
Note: See
TracTickets for help on using
tickets.
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.