src/PowerTools/HTML5/Serializer/OutputRules.php
protected function closeTag($ele) {
        if ($this->outputMode == static::IM_IN_HTML || $ele->hasChildNodes()) {
            $this->wr('</')->wr($this->traverser->isLocalElement($ele) ? $ele->localName : $ele->tagName)->wr('>');
        }
    }
protected function closeTag($ele) {
        if ($this->outputMode == static::IM_IN_HTML || $ele->hasChildNodes()) {
            $this->wr('</')->wr($this->traverser->isLocalElement($ele) ? $ele->localName : $ele->tagName)->wr('>');
        }
    }
protected function closeTag ( $ ele ) { if ( $ this -> outputMode == static :: IM_IN_HTML || $ ele -> hasChildNodes ( ) ) { $ this -> wr ( '</' ) -> wr ( $ this -> traverser -> isLocalElement ( $ ele ) ? $ ele -> localName : $ ele -> tagName ) -> wr ( '>' ) ; } }
Write the closing tag.

Tags for HTML, MathML, and SVG are in the local name. Otherwise, use the
qualified name (8.3).

@param \DOMNode $ele
The element being written.
Write the closing tag .