{"id":1893,"date":"2015-05-15T14:48:32","date_gmt":"2015-05-15T14:48:32","guid":{"rendered":"http:\/\/wptest.io\/demo\/?p=1000"},"modified":"2015-05-15T14:48:32","modified_gmt":"2015-05-15T14:48:32","slug":"edge-case-nested-and-mixed-lists","status":"publish","type":"post","link":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/","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 not break the ordered list numbering order Your list styles go deep enough. Ordered &#8211; Unordered &#8211; Ordered ordered item ordered item unordered unordered ordered item ordered item ordered item ordered item Ordered &#8211; Unordered &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Edge Case: Nested And Mixed Lists&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1813,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[60,62,67,94,97],"class_list":["post-1893","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 v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Edge Case: Nested And Mixed Lists - Michael Naylor<\/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:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Edge Case: Nested And Mixed Lists - Michael Naylor\" \/>\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 not break the ordered list numbering order Your list styles go deep enough. Ordered &#8211; Unordered &#8211; Ordered ordered item ordered item unordered unordered ordered item ordered item ordered item ordered item Ordered &#8211; Unordered &hellip; Continue reading &quot;Edge Case: Nested And Mixed Lists&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\" \/>\n<meta property=\"og:site_name\" content=\"Michael Naylor\" \/>\n<meta property=\"article:published_time\" content=\"2015-05-15T14:48:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"837\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Naylor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:site\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Naylor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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\":\"Article\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\"},\"author\":{\"name\":\"Michael Naylor\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"headline\":\"Edge Case: Nested And Mixed Lists\",\"datePublished\":\"2015-05-15T14:48:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\"},\"wordCount\":115,\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"image\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg\",\"keywords\":[\"content\",\"css\",\"edge case\",\"lists\",\"markup\"],\"articleSection\":[\"Edge Case\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\",\"name\":\"Edge Case: Nested And Mixed Lists - Michael Naylor\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg\",\"datePublished\":\"2015-05-15T14:48:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg\",\"contentUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg\",\"width\":1200,\"height\":837},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edge Case: Nested And Mixed Lists\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\",\"name\":\"Michael Naylor\",\"description\":\"Things which interest me.\",\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\",\"name\":\"Michael Naylor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"caption\":\"Michael Naylor\"},\"logo\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.thenaylors.co.uk\/wordpress\"],\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/michael\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Edge Case: Nested And Mixed Lists - Michael Naylor","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:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/","og_locale":"en_GB","og_type":"article","og_title":"Edge Case: Nested And Mixed Lists - Michael Naylor","og_description":"Nested and mixed lists are an interesting beast. It&#8217;s a corner case to make sure that Lists within lists do not break the ordered list numbering order Your list styles go deep enough. Ordered &#8211; Unordered &#8211; Ordered ordered item ordered item unordered unordered ordered item ordered item ordered item ordered item Ordered &#8211; Unordered &hellip; Continue reading \"Edge Case: Nested And Mixed Lists\"","og_url":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/","og_site_name":"Michael Naylor","article_published_time":"2015-05-15T14:48:32+00:00","og_image":[{"width":1200,"height":837,"url":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg","type":"image\/jpeg"}],"author":"Michael Naylor","twitter_card":"summary_large_image","twitter_creator":"@mjnaylor","twitter_site":"@mjnaylor","twitter_misc":{"Written by":"Michael Naylor","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#article","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/"},"author":{"name":"Michael Naylor","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"headline":"Edge Case: Nested And Mixed Lists","datePublished":"2015-05-15T14:48:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/"},"wordCount":115,"publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"image":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg","keywords":["content","css","edge case","lists","markup"],"articleSection":["Edge Case"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/","name":"Edge Case: Nested And Mixed Lists - Michael Naylor","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage"},"image":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg","datePublished":"2015-05-15T14:48:32+00:00","breadcrumb":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#primaryimage","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg","contentUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2016\/03\/photo-1448518184296-a22facb4446f-1.jpg","width":1200,"height":837},{"@type":"BreadcrumbList","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/edge-case-nested-and-mixed-lists\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thenaylors.co.uk\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Edge Case: Nested And Mixed Lists"}]},{"@type":"WebSite","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/","name":"Michael Naylor","description":"Things which interest me.","publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5","name":"Michael Naylor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","caption":"Michael Naylor"},"logo":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.thenaylors.co.uk\/wordpress"],"url":"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/michael\/"}]}},"_links":{"self":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/1893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=1893"}],"version-history":[{"count":0,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/1893\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media\/1813"}],"wp:attachment":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=1893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=1893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=1893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}