I’m having some difficulty with one of kirby’s excerpt()
methods, and I’m just wondering wether this is intended behaviour API-wise…
https://getkirby.com/docs/toolkit/api/str/excerpt
has a removehtml
boolean (set to true by default), which allows for letting HTML in the input to be passed through.
In my case I’m excerpting parsed markdown, with extensions (for setting references in superscript) so I need to have the HTML not touched, however the field method excerpt()
has no argument to set the removehtml
boolean…
https://getkirby.com/docs/cheatsheet/field-methods/excerpt
same goes for the helper:
https://getkirby.com/docs/cheatsheet/helpers/excerpt
I guess I’m fine excerpting thru the toolkit method, but I’m left wondering wether the omission of the removehtml argument is by design?