Opened 6 years ago
Closed 13 months ago
#51707 closed enhancement (fixed)
Add white-space as an allowed kses CSS attribute.
| Reported by: | whyisjake | Owned by: | davidbaumwald |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9 |
| Component: | Formatting | Version: | 5.3.1 |
| Severity: | normal | Keywords: | has-patch has-unit-tests commit |
| Cc: | Focuses: |
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 (11)
This ticket was mentioned in PR #9197 on WordPress/wordpress-develop by @sukhendu2002.
15 months ago
#4
- Keywords has-unit-tests added; needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/51707
@mukesh27 commented on PR #9197:
15 months ago
#6
Thanks @Sukhendu2002 picking and refreshing the patch!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch 51707.diff looks fine for me and
white-spacesupport in all latest browser as per https://developer.mozilla.org/en-US/docs/Web/CSS/white-space article.