Skip to content

Kirby 4.5.0

Html::decode()

Removes all HTML/XML tags and encoded chars from a string

Html::decode(?string $string): string

Parameters

Name Type Default
$string * string|null

Return type

string

Parent class

Kirby\Toolkit\Html inherited from Kirby\Toolkit\Xml