[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 14:26:00 UTC 2021


#52890: How can I prevent <form> tags from automatically inserting <p> tags.
--------------------------+----------------------
 Reporter:  rosener       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Formatting
 * milestone:  Awaiting Review =>


Comment:

 Hi @rosener!

 The support forums are better for individual site help.
 https://wordpress.org/support/

 In this case, however, the extra paragraph tags seem to go away by
 removing the `<center>` (and `</center>`) tags. Then to align the content
 of each `div`, you could add `text-align: center;`:

 {{{
 <div style="padding:0 10px 15px 0; float:left; text-align: center;">
 }}}

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


More information about the wp-trac mailing list