Opened 17 years ago
Closed 15 years ago
#5614 closed defect (bug) (wontfix)
Extra line in function end_el causes an extra gap in horizontal lists
Reported by: | jashnu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 2.3.2 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
wp-includes/classes.php lines 535-541:
function end_el($output, $page, $depth) {
$output .= "</li>\n";
return $output;
}
}
\n causes an extra gap if you create a horizontal list so \n should be removed.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I'm not sure I agree with making this change. Making this change will place all li tags on one line which does not follow best practice for lists.