Unfortunately, HTML commands in block titles are not being rendered. I would like to be able to add icon font symbols to my block titles by adding comands like <i class="icon-envelope"></i>
(this is Font Awesome syntax) to them WITHOUT installing yet another contrib module.
Is there a way to let HTML in block titles being rendered by adding a mytheme_preprocess_block() function to my template.php?
I came across a solution to let HTML commands in menu links being rendered by adding
function mytheme_link($variables) {
$variables['options']['html'] = TRUE;
return '' . ($variables['options']['html'] ? $variables['text'] : check_plain($variables['text'])) . '';
}
to my template.php but haven't managed to modify the code for block titles.