Kirbytext Image Link broken

hi, me again :wink:

In my textarea i have

(image: icon-instagram.svg imgclass: u-icon link: https://www.instagram.com/lenbachhaus/ )

and what i get in the HTML is:

<a href="http://lbh-collaboratory-cms.ddev.site/<a href=&quot;https://www.youtube.com/channel/UCivB9zYyqxlBxFrIQHaOWyg&quot; rel=&quot;noopener noreferrer nofollow&quot;>https://www.youtube.com/channel/UCivB9zYyqxlBxFrIQHaOWyg</a> "><img alt="" class="u-icon" src="http://lbh-collaboratory-cms.ddev.site/media/pages/kontakt/1f831f7df5-1619623398/icon-youtube.svg"></a>

Problem is the HREF is being set with:

http://lbh-collaboratory-cms.ddev.site/<a href=&quot;https://www.youtube.com/channel/UCivB9zYyqxlBxFrIQHaOWyg&quot; rel=&quot;noopener noreferrer nofollow&quot;>https://www.youtube.com/channel/UCivB9zYyqxlBxFrIQHaOWyg</a>

It seems like some AUTO-Url-Conversion is taking place before Kirbytags are parsed. What am i doing wrong here?

What is your Kirby version? What is the context before and after the image tag?

Kirby v 3.5.3.1.
The context is a standard kirby text block with a custom snippet that does the
$block->text()->kt();

Now that i have written the above: is this probably because i am using kirby-tags in a writer-field?

That’s true, you cannot use Kirbytags in a writer field.