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

WordPress Trac noreply at wordpress.org
Fri Jan 17 13:11:12 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:  Formatting    |     Version:  5.3.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  Themes => Formatting


Old description:

> 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>

New description:

 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#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list