PHPHtmlParser\Dom\AbstractNode::innerHtml PHP Method

innerHtml() abstract public method

Gets the inner html of this node.
abstract public innerHtml ( ) : string
return string
    public abstract function innerHtml();

Usage Example

Exemplo n.º 1
0
 public function format(AbstractNode $node)
 {
     return new TextNode(Parsedown::instance()->setBreaksEnabled(true)->setMarkupEscaped(true)->text($node->innerHtml()));
 }