public function dl($list, $attributes = array())
{
$html = '';
if (count($list) == 0) {
return $html;
}
foreach ($list as $term => $description) {
$html .= '<dt>' . $this->entities($term) . '</dt>';
$html .= '<dd>' . $this->entities($description) . '</dd>';
}
return '<dl' . $this->attributes($attributes) . '>' . $html . '</dl>';
}