Active hyperlink in Email content

Hi - I have an email that I want to insert a hyperlink into. I can get it into the body of my email but the formatting is not correct. I am using a snippet and then a script to load the snippet. I am using a text @webAddr@ in the middle of a sentence. This seems to break up the sentence and messes up the format. See screen print below. IS there a way I can make this work so it doesnt break up the sentence?

Thank you

Hi @ahaddad,

Does that only happen on certain email clients, or do you also see that in preview mode in the designer?

Would it be possible for you to attach a stripped-down template (without data) that demonstrates this?

This happens with all email clients. I can construct the email without the hyperlink and it looks fine. Its only when i use a hyperlink that it moves to the next line. I will try to create a stripped down template.

Please provide an anonymized Template so we cna look at it. Could be you have <br> in your snippets.

Here is a stripped down version of the template/datamapper. There is no
tag that I can find in the snippet. This is also happening in the letter section.

Thank you
PALtr_ARE - Copy.zip (544.7 KB)

If you could provide the contents of the EmailBody2 snippet (provided that it doesn’t contain sensitive info) that would be very helpful. That snippet is a link to a file on your local disk, so we can’t access it on our side.

I think the crux is in that snippet.

I did a quick experiment, changing the WebAddress script to insert a dummy hyperlink and that looks fine in Outlook. See the “Click Me!” link below:

image

I agree with @Sander, we definitely need to see that snippet as the code we have access at the moment show no reason for this break in the paragraph.

I apologize, I thought it was in there. Here it is. It is just a link. EmailBody2.txt (832 Bytes)

You snippet is made of <div>. It is a box so the behavior is the right one. I suggest you use <span> instead.

I tried it and it works.

I got it! Thank you so much. I think I changed everything except that.