think you have lost me… we were talking about the recent post widget/tag…but the code you posted has nothing to do with that… so not sure where you were going there… my suggestion was to edit an existing piece of code… you get all the inherited code with… you fragment is missing many things it would have to have…
I was suggesting modifying
case 'T':
# Topic
$out.= $beforeTopic;
if ($tLink) $out.= "<a class='$linkClass' $title href='$spThisListTopic->post_permalink'>";
$out.= sp_truncate($spThisListTopic->topic_name, $truncate);
if ($tLink) $out.= '</a>';
$out.= $afterTopic;
break;
to something like
case 'T':
# Topic
$out.= $beforeTopic;
if ($tLink) $out.= "<a class='$linkClass' href='$spThisListTopic->post_permalink'>";
$out.= sp_truncate($spThisListTopic->topic_name, $truncate);
if ($tLink) $out.= '</a>';
$out.= '<br/>'.$spThisListTopic->post_tip;
$out.= $afterTopic;
break;
this would output the excerpt under the topic title.. just change the <br/> tag to a dash to get closer to what you want..
and as mentioned, you really cant display html in an excerpt because odds are that you would break some html…