Hi,
I use a model to customize the “title” of a page. Using a “excerpt” turns a &
into a &
.
Is this an expected behavior?
model.php
public function title(): Kirby\Content\Field
{
return $this->headline()->excerpt(50)->or('podcast');
}
headline:
Hirn & Heinrich - der Wissenspodcast des Deutschen Zentrums für Neurodegenerative Erkrankungen e.V. (DZNE)
Result:
Hirn & Heinrich - der Wissenspodcast des …
^^^^^
How to keep the &
as it is?
Thanks and have a nice day.
ciao, Stefan