protected function createTab(Infoset $info) {
		$title   = $this->specialCharsHandle($info->getTitle());
		$title   = $this->bbCodesHandle($title);
		$infoTag = new Tag('span', $title, 'debug-info-holder');

		$tabElement = new ListElement($infoTag->render());
		$tabElement->addClass('debug-tab');
		
		$titleAttr = $info->getName() . ' :: ' . $info->getTitle();
		$titleAttr = $this->specialCharsHandle($titleAttr);
		$titleAttr = $this->stripBbCodes($titleAttr);
		$tabElement->title = $titleAttr;
		
		if ($info->getLevel() <= Infoset::LEVEL_ALERT) {
			$tabElement->addClass('alert');
		}
		
		if ($info->hasIcon()) {
			$this->handleIcon($info, $tabElement);
		}
		
		return $tabElement;
	}