From: Sergio Villar Senin Date: Thu, 26 Mar 2009 09:31:48 +0000 (+0000) Subject: Fixes NB#96600, added feed protocol support X-Git-Tag: git_migration_finished~205 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c9a513bf1a6945fac7ce82f8dfe61ed21197354b;hp=08777014ee682cfba5cbe1813e9472ea84c06cf4 Fixes NB#96600, added feed protocol support pmo-trunk-r8407 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index f1c40b4..e7c6e83 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -109,7 +109,7 @@ struct _url_match_t { /* note: match MARK_AMP_URI_STR as well, because after txt->html, a '&' will look like $(MARK_AMP_URI_STR)"amp;" */ #define MAIL_VIEWER_URL_MATCH_PATTERNS { \ - { "(file|rtsp|http|ftp|https|mms|mmsh|webcal|feed|rtsp|rdp|lastfm|sip)://[-a-z0-9_$.+!*(),;:@%=?/~#" MARK_AMP_URI_STR \ + { "(feed:|)(file|rtsp|http|ftp|https|mms|mmsh|webcal|rtsp|rdp|lastfm|sip)://[-a-z0-9_$.+!*(),;:@%=?/~#" MARK_AMP_URI_STR \ "]+[-a-z0-9_$%" MARK_AMP_URI_STR "=?/~#]", \ NULL, NULL },\ { "www\\.[-a-z0-9_$.+!*(),;:@%=?/~#" MARK_AMP_URI_STR "]+[-a-z0-9_$%" MARK_AMP_URI_STR "=?/~#]",\