When creating content, I tend to use the following formatting:
title: Title of page
----
excerpt: This is a page of dummy content
----
text: Hello there! This text is just a placeholder!
However, if I’m to edit this using the panel, the file is updated to use styling as follows:
title: Title of page
----
excerpt: This is a page of dummy content
----
text: Hello there! This text is just a placeholder!
It seems this is due to the following (on line 117 in kirby/toolkit/lib/data.php):
return implode("\n\n----\n\n", $result);
I’ve overridden this with the following:
return implode("\n----\n", $result);
but that can only be a short-term solution. Is there any reason why additional line breaks are used? Can there be (or is there) a way to override this behaviour?
Best,
Paul