{"id":677030,"date":"2008-01-08T12:50:52","date_gmt":"2008-01-08T12:50:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-dtree-332-doesnt-validate-li-start-tag-missing\/"},"modified":"2016-08-19T00:07:26","modified_gmt":"2016-08-19T00:07:26","slug":"wp-dtree-332-doesnt-validate-li-start-tag-missing","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-dtree-332-doesnt-validate-li-start-tag-missing\/","title":{"rendered":"WP-dTree 3.3.2 doesn&#8217;t validate: ul tags followed by div, no li tags"},"content":{"rendered":"<p>Somehow my pages don&#8217;t validate. When I looked at the generated XHTML I discovered that the <code>&lt;div id=&quot;dtreepgewrapper&quot;&gt;<\/code> is inside <code>&lt;ul&gt;<\/code> tags but not within any <code>&lt;li&gt;<\/code> tags. They seem to be missing. I can read and write XHTML like my native tongue but PHP is Greek to me. Well maybe not that bad but I don&#8217;t want to mess with it on my own. Do I delete the <code>$after_title . &quot;&lt;ul&gt;&quot;;<\/code> from the<br \/>\n<code>echo $before_title . $wpdtreeopt[&#039;arcopt&#039;][&#039;topnode&#039;] . $after_title . &quot;&lt;ul&gt;&quot;;<\/code><br \/>\nand delete the<br \/>\n<code>echo &quot;&lt;\/ul&gt;&quot; . $after_widget;<\/code><br \/>\nline from the wp-dtree.php file or do I add in <code>&lt;li&gt;<\/code>&#8216;s inside the <code>&lt;ul&gt;<\/code>&#8216;s?<br \/>\nPlease help<\/p>\n","protected":false},"template":"","class_list":["post-677030","topic","type-topic","status-closed","hentry","topic-tag-wp-dtree-3-0"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/677030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/677030\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=677030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}