Opened 20 years ago
Closed 19 years ago
#3617 closed defect (bug) (duplicate)
<div>.*?</div> converted to <p>.*?</p> when switching from Code to Visual to Code
| Reported by: | miklb | Owned by: | andy |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
see this ticket for more info http://trac.wordpress.org/ticket/2992#comment:8
XHTML correction turned off
- as admin (also confirmed with author, but stripping not deleting is appropriate then)
- In Write Post, click Code tab
- Enter
<div>test</div>
- Click Visual tab
- Click Code tab
ACTUAL RESULT
test
The divs have been stripped.
Change History (10)
#4
@
20 years ago
- Owner changed from to
- Summary <divs> converted to <p> → <div>.*?</div> converted to <p>.*?</p> when switching from Code to Visual to Code
Okay, so this is an issue of tab-switching destroying the HTML. I think this is Andy or mdawaffe's territory
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Need more specific reproduction instructions. I can't reproduce with XHTML correction turned off and:
or