问题
I have created an ICS file. And it has a hyperlink for a text. In outlook 2013, it is working fine. But in other email clients, it is showing me the full URL along with the hyper linked text. Refer the below screenshots. MAC-OS-Laptop Outlook2016
This is only working fine in Outlook2013. Refer this screenshot. Outlook2013
Please help to resolve this issue.
Thanks in advance.
回答1:
Venil, Not all calendar or email applications will cope with html in the event description. Of course some choose to, however the specification tends to indicate that the DESCRIPTION is meant to be 'plain' text. Some applications will convert a plain url (no hyperlink) to a clickable one. It may be safer and cleaner to use a plain url rather than the html hyperlink. See the RFC5545 specification links:
The DESCRIPTION definition in the RFC5545 specification says it is of type text. A text type is defined as human readable. The spec allows for an ALTREP that may contain html. Putting all that together implies that the DESCRIPTION field is not intended to have html.
来源:https://stackoverflow.com/questions/46968971/hyper-link-issue-inside-ics-file