taxonomy_context_show_children() produces output containing empty <ul> tags.
Changing
$output = "<ul>\n";
$children = taxonomy_context_term_children($tid);
if ($children) {
to
$children = taxonomy_context_term_children($tid);
if (!$children) {
return;
}
$output = "<ul>\n";
if ($children) {
fixes the problem.
Comments
Comment #1
chrisschaub commentedOk, just bumping this up again. It causes html validation errors since you have empty ul tags. Any chance for a patch? Thanks.
Comment #2
nedjo4.5 is no longer actively maintained and the referenced function doesn't exist in HEAD or 5.x.
Comment #3
nedjoOr, if this is an issue in the 5.x version, please confirm that this is the case and provide more details, change the issue title accordingly, and reopen the issue.