Running on Kirby 2.5.12 the following content file
Title: Test
----
Text:
(image: image3heads.jpg)
## Headline
Some text.
is running very well within a template file with the code <?= $page->text()->kirbytext() ?>
.
After upgrading to Kirby 3.3.2 the rendered page looks very funny:
I had found, that there must be an empty line after the image tag in front of the following content file line.
So I ask for some code I can add e.g. in a kirbytags:before
hook (may be some regex code) that adds the needed line in front of the following content.
In other words, the “text
” content after running that hook code should look like
(image: image3heads.jpg)
## Headline
Some text.
It should also work on a Kirbytag like (image: image3heads.jpg link: http://example.com/the/page target: _blank linkclass: myimage class: floated)
.