Fixes NB#96600, added feed protocol support
authorSergio Villar Senin <svillar@igalia.com>
Thu, 26 Mar 2009 09:31:48 +0000 (09:31 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 26 Mar 2009 09:31:48 +0000 (09:31 +0000)
pmo-trunk-r8407

src/modest-text-utils.c

index f1c40b4..e7c6e83 100644 (file)
@@ -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 "=?/~#]",\