{php} if (!isset($item->text)){ $item->text = $item->name; } $item->text = FormatString($item->text, '[html-format]'); {/php}