#52890 closed defect (bug) (invalid)
How can I prevent <form> tags from automatically inserting <p> tags.
Reported by: | rosener | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | |
Focuses: | Cc: |
Description
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
Attachments (1)
Change History (4)
#2
@
4 years ago
- Component changed from General to Formatting
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
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;">
Note: See
TracTickets for help on using
tickets.
If I misspell "<form " to </fform " these extra paragraph tags do not appear.