This modification enables the use of additional parameters (like subject) in the mailto email argument without displaying these in the anchor text (that is derived from the email argument if the 'text' argument is empty).
E.g. (email: info@domain.com?subject=Website Contact) now generates
This modification enables the use of additional parameters (like subject) in the mailto email argument without displaying these in the anchor text (that is derived from the email argument if the 'text' argument is empty).
E.g.
(email: info@domain.com?subject=Website Contact)
now generates<a href="mailto:info@domain.com?subject=Website Contact">info@domain.com</a>
instead of
<a href="mailto:info@domain.com?subject=Website Contact">info@domain.com?subject=Website Contact</a>
This seems to be a much simpler alternative to the approach discussed in the forums: https://forum.getkirby.com/t/kirbytext-email-with-subject/599