{"id":1000,"date":"2009-05-15T14:48:32","date_gmt":"2009-05-15T21:48:32","guid":{"rendered":"http:\/\/wptest.io\/demo\/?p=1000"},"modified":"2026-01-06T15:40:38","modified_gmt":"2026-01-06T15:40:38","slug":"edge-case-nested-and-mixed-lists","status":"publish","type":"post","link":"https:\/\/livedj.pro\/?p=1000","title":{"rendered":"Edge Case: Nested And Mixed Lists"},"content":{"rendered":"<p>Nested and mixed lists are an interesting beast. It&#8217;s a corner case to make sure that<\/p>\n<ul>\n<li><span style=\"line-height:1.714285714;font-size:1rem;\">Lists within lists do not break the ordered list numbering order<\/span><\/li>\n<li><span style=\"line-height:1.714285714;font-size:1rem;\">Your list styles go deep enough.<\/span><\/li>\n<\/ul>\n<h3>Ordered &#8211; Unordered &#8211; Ordered<\/h3>\n<ol>\n<li>ordered item<\/li>\n<li>ordered item\n<ul>\n<li><strong>unordered<\/strong><\/li>\n<li><strong>unordered<\/strong>\n<ol>\n<li>ordered item<\/li>\n<li>ordered item<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<li>ordered item<\/li>\n<li>ordered item<\/li>\n<\/ol>\n<h3>Ordered &#8211; Unordered &#8211; Unordered<\/h3>\n<ol>\n<li>ordered item<\/li>\n<li>ordered item\n<ul>\n<li><strong>unordered<\/strong><\/li>\n<li><strong>unordered<\/strong>\n<ul>\n<li>unordered item<\/li>\n<li>unordered item<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>ordered item<\/li>\n<li>ordered item<\/li>\n<\/ol>\n<h3>Unordered &#8211; Ordered &#8211; Unordered<\/h3>\n<ul>\n<li>unordered item<\/li>\n<li>unordered item\n<ol>\n<li>ordered<\/li>\n<li>ordered\n<ul>\n<li>unordered item<\/li>\n<li>unordered item<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<li>unordered item<\/li>\n<li>unordered item<\/li>\n<\/ul>\n<h3>Unordered &#8211; Unordered &#8211; Ordered<\/h3>\n<ul>\n<li>unordered item<\/li>\n<li>unordered item\n<ul>\n<li>unordered<\/li>\n<li>unordered\n<ol>\n<li><strong>ordered item<\/strong><\/li>\n<li><strong>ordered item<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<li>unordered item<\/li>\n<li>unordered item<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Nested and mixed lists are an interesting beast. It&#8217;s a corner case to make sure that Lists within lists do [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[89,91,97,128,131],"class_list":["post-1000","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-edge-case-2","tag-content-2","tag-css","tag-edge-case","tag-lists-2","tag-markup-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Edge Case: Nested And Mixed Lists - LiveDj.pro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/livedj.pro\/?p=1000\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Edge Case: Nested And Mixed Lists - LiveDj.pro\" \/>\n<meta property=\"og:description\" content=\"Nested and mixed lists are an interesting beast. It&#8217;s a corner case to make sure that Lists within lists do [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/livedj.pro\/?p=1000\" \/>\n<meta property=\"og:site_name\" content=\"LiveDj.pro\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-15T21:48:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-06T15:40:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/livedj.pro\/?p=1000\",\"url\":\"https:\/\/livedj.pro\/?p=1000\",\"name\":\"Edge Case: Nested And Mixed Lists - LiveDj.pro\",\"isPartOf\":{\"@id\":\"https:\/\/livedj.pro\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/livedj.pro\/?p=1000#primaryimage\"},\"image\":{\"@id\":\"https:\/\/livedj.pro\/?p=1000#primaryimage\"},\"thumbnailUrl\":\"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg\",\"datePublished\":\"2009-05-15T21:48:32+00:00\",\"dateModified\":\"2026-01-06T15:40:38+00:00\",\"author\":{\"@id\":\"https:\/\/livedj.pro\/#\/schema\/person\/c3d86149914f4de33fd0ba13e1ecc396\"},\"breadcrumb\":{\"@id\":\"https:\/\/livedj.pro\/?p=1000#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/livedj.pro\/?p=1000\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/livedj.pro\/?p=1000#primaryimage\",\"url\":\"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg\",\"contentUrl\":\"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg\",\"width\":800,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/livedj.pro\/?p=1000#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/livedj.pro\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edge Case: Nested And Mixed Lists\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/livedj.pro\/#website\",\"url\":\"https:\/\/livedj.pro\/\",\"name\":\"LiveDj.pro\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/livedj.pro\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/livedj.pro\/#\/schema\/person\/c3d86149914f4de33fd0ba13e1ecc396\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/livedj.pro\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3fdd5e3f4e5632bc32c218729a813c81b27b432902ac097b6dac3b2a4390d0d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3fdd5e3f4e5632bc32c218729a813c81b27b432902ac097b6dac3b2a4390d0d?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/livedj.pro\"],\"url\":\"https:\/\/livedj.pro\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Edge Case: Nested And Mixed Lists - LiveDj.pro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/livedj.pro\/?p=1000","og_locale":"en_US","og_type":"article","og_title":"Edge Case: Nested And Mixed Lists - LiveDj.pro","og_description":"Nested and mixed lists are an interesting beast. It&#8217;s a corner case to make sure that Lists within lists do [&hellip;]","og_url":"https:\/\/livedj.pro\/?p=1000","og_site_name":"LiveDj.pro","article_published_time":"2009-05-15T21:48:32+00:00","article_modified_time":"2026-01-06T15:40:38+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/livedj.pro\/?p=1000","url":"https:\/\/livedj.pro\/?p=1000","name":"Edge Case: Nested And Mixed Lists - LiveDj.pro","isPartOf":{"@id":"https:\/\/livedj.pro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/livedj.pro\/?p=1000#primaryimage"},"image":{"@id":"https:\/\/livedj.pro\/?p=1000#primaryimage"},"thumbnailUrl":"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg","datePublished":"2009-05-15T21:48:32+00:00","dateModified":"2026-01-06T15:40:38+00:00","author":{"@id":"https:\/\/livedj.pro\/#\/schema\/person\/c3d86149914f4de33fd0ba13e1ecc396"},"breadcrumb":{"@id":"https:\/\/livedj.pro\/?p=1000#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/livedj.pro\/?p=1000"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/livedj.pro\/?p=1000#primaryimage","url":"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg","contentUrl":"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg","width":800,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/livedj.pro\/?p=1000#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/livedj.pro\/"},{"@type":"ListItem","position":2,"name":"Edge Case: Nested And Mixed Lists"}]},{"@type":"WebSite","@id":"https:\/\/livedj.pro\/#website","url":"https:\/\/livedj.pro\/","name":"LiveDj.pro","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/livedj.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/livedj.pro\/#\/schema\/person\/c3d86149914f4de33fd0ba13e1ecc396","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/livedj.pro\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3fdd5e3f4e5632bc32c218729a813c81b27b432902ac097b6dac3b2a4390d0d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3fdd5e3f4e5632bc32c218729a813c81b27b432902ac097b6dac3b2a4390d0d?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/livedj.pro"],"url":"https:\/\/livedj.pro\/?author=1"}]}},"jetpack_featured_media_url":"https:\/\/livedj.pro\/wp-content\/uploads\/2026\/01\/dummy.jpg","_links":{"self":[{"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/posts\/1000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/livedj.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1000"}],"version-history":[{"count":1,"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/posts\/1000\/revisions"}],"predecessor-version":[{"id":2090,"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/posts\/1000\/revisions\/2090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/livedj.pro\/index.php?rest_route=\/wp\/v2\/media\/9"}],"wp:attachment":[{"href":"https:\/\/livedj.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/livedj.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/livedj.pro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}