em tags in title attributes of links in the block
anoopjohn - February 16, 2008 - 19:32
| Project: | Taxonomy Block |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The links come up with a title attribute as
title="view <em>Post Title</em> in full"
The em in the title attribute does not make sense. This was because of an error in the theme_taxonomy_block_list_item function. I have corrected the code and am posting it here. The only change is in the %variable in the t function which was changed to a @variable.
/**
* Format a single item for a list.
*
* @ingroup themeable
*/
function theme_taxonomy_block_list_item($node, $teaser) {
$output = '
if ($teaser) {
$output .= '
'. $teaser;
}
$output .= '
';
return $output;
}

#1
Upgrade to 6.x version. Thanks.