#52890 closed defect (bug) (invalid)
How can I prevent <form> tags from automatically inserting <p> tags.
| Reported by: | rosener | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
5 years ago
- Component General → Formatting
- Milestone Awaiting Review
- Resolution → invalid
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
If I misspell "<form " to </fform " these extra paragraph tags do not appear.