Skip to content

Kirby 4.4.1

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\Cms\Html inherited from Kirby\Toolkit\Xml