WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#49217 new defect (bug)

HTML error with the multi-level list in Classic Editor

Reported by: yasglobal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3.2
Component: Formatting Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

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>

Change History (2)

#1 @yasglobal
5 weeks ago

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

#2 @SergeyBiryukov
5 weeks ago

  • Component changed from Themes to Formatting
  • Description modified (diff)
Note: See TracTickets for help on using tickets.