/** * Close list tag. * * @param T_Text_List $node */ function postTextList(T_Text_List $node) { if ($node->is(T_Text_List::ORDERED)) { $this->xhtml .= EOL . '</ol>'; } else { $this->xhtml .= EOL . '</ul>'; } }