Fix few wrong string lengths when matching URI schemes, add more known
[claws.git] / src / compose.c
index ee0f07219ac3f1d1b2d48ca8948334ceb9a2460e..5445828bce1f911259b94e3303707406555bb61d 100644 (file)
@@ -4547,9 +4547,12 @@ static gboolean compose_beautify_paragraph(Compose *compose, GtkTextIter *par_it
                        {"http://",  strcasestr, get_uri_part,   make_uri_string},
                        {"https://", strcasestr, get_uri_part,   make_uri_string},
                        {"ftp://",   strcasestr, get_uri_part,   make_uri_string},
+                       {"ftps://",  strcasestr, get_uri_part,   make_uri_string},
                        {"sftp://",  strcasestr, get_uri_part,   make_uri_string},
                        {"gopher://",strcasestr, get_uri_part,   make_uri_string},
                        {"www.",     strcasestr, get_uri_part,   make_http_string},
+                       {"webcal://",strcasestr, get_uri_part,   make_uri_string},
+                       {"webcals://",strcasestr, get_uri_part,  make_uri_string},
                        {"mailto:",  strcasestr, get_uri_part,   make_uri_string},
                        {"@",        strcasestr, get_email_part, make_email_string}
                };