You are viewing limited content. For full access, please sign in.

Question

Question

& changed to &amp when using mailto, subject, & body

asked on September 6, 2022

I'm editing an email service task in html.

mailto works using <a href="mailto:someone@email.com">Email someone.</a>

Subject works using <a href="mailto:someone@email.com?subject=Payroll, benefits, or leave question>Email someone.</a>

 

However, body doesn't work because & is changed to &amp when I save the email service task

 

<a href="mailto:someone@email.com?subject=Payroll, benefits, or leave question&amp;body=Hi Sonja, I have a question about payroll, benefits, and leave. When are you available to discuss my question?">Email someone.</a>

0 0

Replies

replied on September 6, 2022 Show version history

Seeing the same behavior (version 11.0.2201.20436).

That's an interesting one because I'm sure it's designed to convert the ampersand in HTML so it is encoded properly, but that could be a problem when it is part of the href attribute like that.

A bit of "over helping" in a way.

It does the same thing when you use the visual editor's hyperlink option.

0 0
replied on September 6, 2022

Hi Hope,

The link does work for me from Outlook though &amp is saved. See screenshot below.

Could you elaborate how it doesn't work on your side?


 

0 0
replied on September 7, 2022

The body of the email was in the subject line but is working fine now

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.