Changes between Initial Version and Version 13 of Ticket #5250
- Timestamp:
- 10/04/2015 10:56:37 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5250
- Property Milestone 2.5
- Property Keywords needs-patch needs-unit-tests added; xhtml removed
- Property Priority low → normal
- Property Severity trivial → normal
- Property Summary Unclosed p tags -- not XHTML-compliant! → wpautop() issue with lists
- Property Component General → Formatting
- Property Cc added
- Property Resolution → wontfix
- Property Status new → closed
-
Ticket #5250 – Description
initial v13 4 4 The problem, in short: WordPress inserted a number of unclosed `<p>` tags into my post. It should either insert correctly closed tags, or none at all. I honestly would prefer the former. 5 5 6 7 6 In detail: I had HTML code very similar to this: 8 7 8 {{{ 9 9 <ul> 10 10 <li>text<ul> … … 12 12 </ul>more text</li> 13 13 </ul> 14 14 }}} 15 15 16 16 This was automatically converted to: 17 17 18 {{{ 18 19 <ul> 19 20 <li>text<ul> … … 21 22 </ul><p>more text</li> 22 23 </ul> 24 }}} 23 25 24 26 Note the extra `<p>` tag in the above, which is unclosed (making the W3C validator choke on my website). … … 26 28 Also note, I was not using the WYSIWYG editor (turning it off was the first thing I did), so it's unlikely to be due to that. 27 29 28 29 30 As a workaround, manually inserting properly closed `<p>` tags works just fine: 30 31 32 {{{ 31 33 <ul> 32 34 <li>text<ul> … … 34 36 </ul><p>more text</p></li> 35 37 </ul> 38 }}} 36 39 37 40 Since this workaround exists, the bug is not very prioritary, but it should also (hopefully) be easy to fix.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)