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

WordPress Trac noreply at wordpress.org
Wed May 22 12:00:39 UTC 2019


#47347: HTML error with the multi-level list in Classic Editor
--------------------------+-----------------------------
 Reporter:  sasiddiqui    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.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:
 [[Image()]]

 As you see that in **Item 1** there is a text and then an unordered list.
 In this case, extra closing `p` tag is found in HTML but if the text is
 removed or the list gets removed then there will be no HTML validation
 error.

 Here is an example link I have created with fresh WordPress install with
 Twenty Nineteen theme and the Classic Editor plugin.

 With Gutenberg: [https://dev-site-validation.pantheonsite.io/2019/05/22
 /testing-multi-level-list-with-gutenberg/]

 Without Gutenberg: [https://dev-site-validation.pantheonsite.io/2019/05/22
 /testing-multi-level-list-without-gutenberg/]


 There is no other plugin **installed** at this time.

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


More information about the wp-trac mailing list