Skip to content

Kirby 4.5.0

Html::breaks()

Converts lines in a string into HTML breaks

Html::breaks(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Cms\Html inherited from Kirby\Toolkit\Html