[wp-trac] [WordPress Trac] #52890: How can I prevent <form> tags from automatically inserting <p> tags.

WordPress Trac noreply at wordpress.org
Tue Mar 23 13:36:34 UTC 2021


#52890: How can I prevent <form> tags from automatically inserting <p> tags.
--------------------------+-----------------------------
 Reporter:  rosener       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I believe after installing the latest version of WordPress 5.7
 HTML opening <form> tags and HTML closing </form> tags
 are inserting paragraphs breaks as shown in the attached screen
 capture.

 From:
   <form

 To:
   <form
    <p>
      ::before
    </p>

 How can I remove this extra information??

 Thanks,
 Bill

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52890>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list