[wp-trac] [WordPress Trac] #49217: HTML error with the multi-level list in Classic Editor

WordPress Trac noreply at wordpress.org
Fri Jan 17 12:25:49 UTC 2020


#49217: HTML error with the multi-level list in Classic Editor
--------------------------+-----------------------------
 Reporter:  yasglobal     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.3.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have recently created a multi-level list which is throwing HTML
 validation error:
 No p element in scope but a p end tag seen.
 This error appears when there is some text between the multi-level list as
 shown here:
 Please create a blog post and past these lines there and validate html.

 <h3>DEMO 1:</h3>
 <ol>
         <li>Item 1</li>
         <li>item 2
 This text is the cause of generating the HTML error in ol.
 <ul>
         <li>test of list 1</li>
 </ul>
 </li>
 </ol>

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49217>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list