Skip to content

Kirby 4.2.0

$element->innerHtml()

Returns the inner HTML of the element

$element->innerHtml(?array $marks = null): string

Parameters

Name Type Default Description
$marks array|null null List of allowed marks

Return type

string

Parent class

Kirby\Parsley\Element