Kirbytext only wrapping multimple images in <p> tag

Im having an issue with how images are converted with kirbytext. A single image on it’s own line is not wrapped in a p tag, while multiple images are.

It this a bug?

Single Image:

(image: example.jpg)

<img src="example.jpg">

Multiple images:

(image: example.jpg)(image: example.jpg)

<p>
  <img src="example.jpg">
  <img src="example.jpg">
</p>

If the images are on a separate line, yes, they are regarded as a separate paragraph. I think that’s standard behavior, not a bug. I guess you have set figure tag to false in your config file. Otherwise your images would be wrapped in figure tags.

If you put a single image tag on a line by itself, you can avoid the p tags.

(image: example.jpg)
(image: example.jpg)