Skip to content

Kirby 4.5.0

Escape::xml()

Escape XML element content

Escape::xml(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Toolkit\Escape