Opened 20 years ago
Closed 20 years ago
#2669 closed defect (bug) (duplicate)
Incorrect paragraphing around <hr /> horizontal rule tag
| Reported by: | Justinsomnia | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.0.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
The following post content:
paragraph 1 <hr /> paragraph 2
should get paragraphified like this:
<p> paragraph 1 </p> <hr /> <p> paragraph 2 </p>
Instead wpautop() creates the following invalid (X)HTML:
<p>graf 1</p> <hr /><br /> graf 2 </p>
note the extra </p> tag.
Attachments (2)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds spacing around <hr /> tags so they're correctly paragraphified