[wp-trac] [WordPress Trac] #40676: wpautop adds opening & closing p tags around the opening a tag and around the closing a tag when the link contains certain flow content elements like div, h1, h2...

WordPress Trac noreply at wordpress.org
Tue Jun 13 22:46:58 UTC 2017


#40676: wpautop adds opening & closing p tags around the opening a tag and around
the closing a tag when the link contains certain flow content elements like
div, h1, h2...
--------------------------+------------------------------
 Reporter:  diegocanal    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.7.4
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by calvinkoepke):

 I can confirm that is has been a recurring issue for me as well, and for
 quite some time. I have no knowledge of how to fix the parsing issue, but
 it is certainly there and would, in my opinion, warrant a patch.

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


More information about the wp-trac mailing list