Opened 19 years ago
Closed 17 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: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | 2.3.2 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.