Weird problem with email tag

I’m having this issue with the kirbytext email tag not rendering correctly.
It’s basically almost identical to this one: Email Kirbytext problem but happening now and with Kirby 4.3.1

The email field renders fine – but within a textarea field the email tag won’t.

It appears on the page correctly but clicking the link it appears in the email client as

&#101
mail@ (etc.)

That line break after the first character is not one I’ve added – it comes from Kirby as far as I can tell.

Not sure if this is helpful info – If I copy the href from the console it looks as expected, that is obfuscated, but if I paste it into this html-entities-to-text-converter all the '&'s get re-encoded as ‘&’.
Doing the same with the href from an email field looks the same in the console but when pasting into the converter page above it doesn’t get re-encoded.

Any help gratefully accepted. Thanks.

I just tested this in a fresh Starterkit and cannot reproduce your issue. Could you please also test with a fresh Starterkit if you haven’t tested yet.

If it also doesn’t work in a fresh Starterkit, please provide information about your system, how it appears in the content file and how you render it in your template.

Also make sure to manually insert the email address to avoid copying any invisible characters.

1 Like

Thanks Sonja,
I tried the starterkit as you suggest and eventually narrowed down the problem – the textarea that was misbehaving was being echoed within a Vue template. I needed to assign it to a variable and use v-html=“” instead of just echoing within the tag. So not really a Kirby problem at all.