kernel/classes/datatypes/ezxmltext/handlers/input/ezsimplifiedxmlinputparser.php
function publishHandlerParagraph( $element, &$params )
    {
        $ret = null;
        // Removes single line tag
        $line = $element->lastChild;
        if ( $element->childNodes->length == 1 && $line->nodeName == 'line' )
        {
            $lineChildren = array();
            $lineChildNodes = $line->childNodes;
            foreach ( $lineChildNodes as $lineChildNode )
            {
                $lineChildren[] = $lineChildNode;
            }

            $line = $element->removeChild( $line );
            foreach ( $lineChildren as $lineChild )
            {
                $element->appendChild( $lineChild );
            }
        }

        return $ret;
    }
function publishHandlerParagraph( $element, &$params )
    {
        $ret = null;
        // Removes single line tag
        $line = $element->lastChild;
        if ( $element->childNodes->length == 1 && $line->nodeName == 'line' )
        {
            $lineChildren = array();
            $lineChildNodes = $line->childNodes;
            foreach ( $lineChildNodes as $lineChildNode )
            {
                $lineChildren[] = $lineChildNode;
            }

            $line = $element->removeChild( $line );
            foreach ( $lineChildren as $lineChild )
            {
                $element->appendChild( $lineChild );
            }
        }

        return $ret;
    }
function publishHandlerParagraph ( $ element , & $ params ) { $ ret = null ; // Removes single line tag $ line = $ element -> lastChild ; if ( $ element -> childNodes -> length == 1 && $ line -> nodeName == 'line' ) { $ lineChildren = array ( ) ; $ lineChildNodes = $ line -> childNodes ; foreach ( $ lineChildNodes as $ lineChildNode ) { $ lineChildren [ ] = $ lineChildNode ; } $ line = $ element -> removeChild ( $ line ) ; foreach ( $ lineChildren as $ lineChild ) { $ element -> appendChild ( $ lineChild ) ; } } return $ ret ; }
Publish handler for 'paragraph' element.
Publish handler for paragraph element .