$field->xml()
Converts the field content to valid XML
$field->xml(): Kirby\Cms\Field
Return type
Aliases
You can use the following aliases for this field method in your template:
$field->x(…)
Example
<?= $page->title()->xml() ?>
Converts the field content to valid XML
$field->xml(): Kirby\Cms\Field
You can use the following aliases for this field method in your template:
$field->x(…)
<?= $page->title()->xml() ?>