Including subject into new email tag #2742

Closed
opened 2022-08-11 06:03:32 +00:00 by mk · 2 comments
Owner

It would be a nice feature with the new <email> tag to be able to add a subject line, so you can e.g. use:

<a href="mailto:contact@fsfe.org?subject=Ada and Zangemann">contact us</a>

on https://fsfe.org/activities/childrensbook/

It would be a nice feature with the new ```<email>``` tag to be able to add a subject line, so you can e.g. use: ``` <a href="mailto:contact@fsfe.org?subject=Ada and Zangemann">contact us</a> ``` on https://fsfe.org/activities/childrensbook/
mk added the feature-request label 2022-08-11 06:03:32 +00:00
max.mehl added the xsl label 2022-08-11 08:41:53 +00:00
Owner

It may also be reasonable to make the subject or other information separate attributes, so e.g. <email mailto="yes" subject="Ada and Zangemann">contact@fsfe.org</email>.

The problem would be the splitting of the additional parameters in the current XSLT, as the content of the tag is used for both the mailto and the displayed email address (that obviously should not contain the subject).

It may also be reasonable to make the `subject` or other information separate attributes, so e.g. `<email mailto="yes" subject="Ada and Zangemann">contact@fsfe.org</email>`. The problem would be the splitting of the additional parameters in the current XSLT, as the content of the tag is used for both the mailto and the displayed email address (that obviously should not contain the subject).
Member

I have a pr (#5281) here that implements the design as suggested Max in #2742 (comment)

I have a pr (https://git.fsfe.org/FSFE/fsfe-website/pulls/5281) here that implements the design as suggested Max in https://git.fsfe.org/FSFE/fsfe-website/issues/2742#issuecomment-19215
Sign in to join this conversation.