Fix a bit: [mailto:foo] shouldn't grab the ']'
* e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
This commit is contained in:
@ -49,7 +49,7 @@ url_extract (const unsigned char **text, gboolean check)
|
||||
end++;
|
||||
|
||||
/* Back up if we probably went too far. */
|
||||
while (end > *text && strchr (",.!?;:>)", *(end - 1)))
|
||||
while (end > *text && strchr (",.!?;:>)]}", *(end - 1)))
|
||||
end--;
|
||||
|
||||
if (check) {
|
||||
|
Reference in New Issue
Block a user