public function lister($tag, array $list)
    {
        $html = '';
        $class = '';
        if ($space = strpos($tag, ' ')) {
            $class = trim(substr($tag, $space));
            $tag = substr($tag, 0, $space);
        }
        foreach ($list as $key => $value) {
            if ($tag == 'dl') {
                $html .= '<dt>'.$key.'</dt>';
                $html .= '<dd>'.(is_array($value) ? implode('</dd><dd>', $value) : $value).'</dd>';
            } else {
                $html .= '<li>'.(is_array($value) ? $key.$this->lister($tag, $value) : $value).'</li>';
            }
        }

        return $this->page->tag($tag, array('class' => $class), $html);
    }