By scottiw2000 on
I need to allow some styling of my node titles using basic html tags (esp. <em>). I've discovered how to get the node template to parse html in the title by inserting a line in the _preprocess_page function of my theme's template.php file:
$vars['title'] = filter_xss($vars['node']->title);
I'm not sure, though, how to get the same filter to apply to the titles in teaser view (e.g., on my front page when it's a list of teasers) or when the node titles are listed in a block (as in a "recent posts" block). Any help would be appreciated.