protected function handleTag_li()
{
if ($this->parent() == 'ol') {
$parent =& $this->getStacked('ol');
if ($this->parser->isStartTag) {
$parent['num']++;
$this->out(str_repeat(' ', 3 - strlen($parent['num'])) . $parent['num'] . '. ', true);
}
} else {
if ($this->parser->isStartTag) {
$this->out(' * ', true);
}
}
$this->indent(' ', false);
if (!$this->parser->isStartTag) {
$this->setLineBreaks(1);
}
}