﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16681,The output from wp_list_bookmarks() fails to validate in Wordpress 3.1,robhogg,,"When run through the W3C's validator (validator.w3c.org), a page containing the example code for this function, as shown in the codex, will generate an error for each link category header, similar to:

>>Error  Line 264, Column 36: document type does not allow element ""li"" here; missing one of ""ul"", ""ol"", ""menu"", ""dir"" start-tag
>>
>><li id=""linkcat-45"" class=""linkcat""><h2>Local Campaigns</h2>

The cause of this is that the list lacks an outer set of <ul>...</ul> tags, meaning that the header list items are not within a list context (unlike the nested lists for the links themselves).

Adding an outer set of unordered list tags resolves this issue, and the page will validate successfully.
",defect (bug),closed,normal,,Template,3.1,normal,worksforme,,
