I#1667 - Component Preview: render Attendees with HTTPs-URI as hyperlinks

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1667
Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/90
This commit is contained in:
Дилян Палаузов
2021-10-23 18:21:04 +03:00
parent c938ee2a25
commit 70de95a8d3

View File

@ -422,6 +422,7 @@ cal_component_preview_write_html (ECalComponentPreview *preview,
str = g_strconcat (e_cal_component_attendee_get_cn (attnd), " <", email, ">", NULL); str = g_strconcat (e_cal_component_attendee_get_cn (attnd), " <", email, ">", NULL);
html = camel_text_to_html (str, html = camel_text_to_html (str,
CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES | CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0); CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
g_string_append (buffer, html); g_string_append (buffer, html);
@ -430,6 +431,7 @@ cal_component_preview_write_html (ECalComponentPreview *preview,
} else { } else {
str = camel_text_to_html (email, str = camel_text_to_html (email,
CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES | CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0); CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
g_string_append (buffer, str); g_string_append (buffer, str);