protected function markupInfoItems($infoItems)
    {
        $result = null;

        if (count($infoItems) == 1) {
            $result = $infoItems[0];
        } else {
            $result = $this->doc->createElement('ul');
            foreach ($infoItems as $item) {
                $li = $this->doc->createElement('li');
                $result->appendChild($li);
                $li->appendChild($item);
            }
        }

        return $result;
    }