[wp-trac] [WordPress Trac] #51707: Add white-space as an allowed kses CSS attribute.

WordPress Trac noreply at wordpress.org
Tue Aug 26 21:07:00 UTC 2025


#51707: Add white-space as an allowed kses CSS attribute.
---------------------------------------------+----------------------------
 Reporter:  whyisjake                        |       Owner:  davidbaumwald
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.9
Component:  Formatting                       |     Version:  5.3.1
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------
Changes (by TimothyBlynJacobs):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60671" 60671]:
 {{{
 #!CommitTicketReference repository="" revision="60671"
 Formatting: Add 'white-space' as an allowed KSES CSS attribute.

 The 'white-space' attribute is safe, has wide browser support, and is
 useful.

 Props sukhendu2002, mukesh27, whyisjake..
 Fixes #51707.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51707#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list