Just another bit of info on this topic...
It looks to me like the formatting of the polls is in the poll module (/modules/poll/poll.pages.inc) in the function poll_page():
PHP Code:
$output = '<ul>';
foreach ($queried_nodes as $node) {
$output .= '<li>' . l($node->title, "node/$node->nid") . ' - ' . format_plural($node->votes, '1 vote', '@count votes') . ' - ' . ($node->active ? t('open') : t('closed')) . '</li>';
}
$output .= '</ul>';
So if I were interested in modifying the markup in the link I would override the function poll_page() with my own themename_poll_page() function in template.php and change the way it outputs the markup.
* It might be that your theme is already doing that (causing the weird output) if you built your theme based on another like Zen or something.
Bookmarks