When enabling the block that displays the latest articles, an empty

is inserted between the block title and the block content (the list of latest articles).

This can be solved by removing the empty last parameter at the line:
$content = module_invoke('node', 'title_list', article_get_latest(variable_get('article_recent_block', '5')), "");
so it looks like this...
$content = module_invoke('node', 'title_list', article_get_latest(variable_get('article_recent_block', '5')));

That's it.
Note that in some themes, this is not noticeable because h3 for right sidebar is set to have no top/bottom margin. But in themes like spreadfirefox where h3 does indeed have a margin an even a line below, the empty tag generates an ugly space.

Comments

msameer’s picture

Assigned: Unassigned » msameer
Status: Active » Closed (fixed)
msameer’s picture

Patch in the CVS. Thanks.