[Help] How can I add a hyperlink to the body/description field of a iCal?

I’m creating a .vcs file with iCal and I can’t figure out a way to include hyperlink in the body of the .vcs file.

I tried doing this:

var hyperlink = string.Format("X-ALT-DESC;FMTTYPE=text/html:<a href="{0}">click here</a>", url); 

I was trying to follow the advice of this stack overflow post.

However, when I open the file it just looks like this:

X-ALT-DESC;FMTTYPE=text/html:<a href=https://www.google.com>click here</a> 

Basically, it did not render the HTML and I’m not sure how to fix it. I’ve been looking through stack overflow for a while but haven’t had any luck.

P.S. I know that Outlook automatically converts most URLs to hyperlinks but I need to find a way to do it manually.

submitted by /u/CrystalMiami
[link] [comments]

Leave a Reply