Opened 18 years ago
Closed 18 years ago
#3617 closed defect (bug) (duplicate)
<div>.*?</div> converted to <p>.*?</p> when switching from Code to Visual to Code
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
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.
Pull Requests
- Loading…
Change History (10)
#4
@ Lead Developer
18 years ago
- Owner changed from anonymous to andy
- Summary changed from <divs> converted to <p> to <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.
Need more specific reproduction instructions. I can't reproduce with XHTML correction turned off and:
or