X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.c;h=76fc3cb6ae0ddcf7c13ebcee158ac5aebf58e0f7;hp=f529d184673968aa8636aea89401748f19e5d220;hb=b683e0368d4e89bf1a233b59b907d90af027d529;hpb=55d6d8dcf3964f16fe210479e94514dbe985f2b4 diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index f529d18..76fc3cb 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -100,7 +100,7 @@ const gchar account_title_forbidden_chars[] = { '\\', '/', ':', '*', '?', '\'', '<', '>', '|', '^' }; const gchar folder_name_forbidden_chars[] = { - '<', '>', ':', '\'', '/', '\\', '|', '?', '*', '^', '%', '$' + '<', '>', ':', '\'', '/', '\\', '|', '?', '*', '^', '%', '$', '#', '&' }; const gchar user_name_forbidden_chars[] = { '<', '>' @@ -399,7 +399,7 @@ modest_text_utils_convert_to_html (const gchar *data) if (len <= HYPERLINKIFY_MAX_LENGTH) hyperlinkify_plain_text (html); - + return g_string_free (html, FALSE); }