[wp-trac] [WordPress Trac] #43100: Unexpected results from wpautop

WordPress Trac noreply at wordpress.org
Thu Jan 18 05:49:31 UTC 2018


#43100: Unexpected results from wpautop
--------------------------+------------------------------
 Reporter:  pross         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by justinbusa):

 It looks like this happens in reverse for paragraph tags that have a style
 attribute. For example, this...

 `echo wpautop( '<p style="text-align:center;"></p>' );`

 will output... `<p style="text-align:center;">` with no closing tag.

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


More information about the wp-trac mailing list