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:
Dan Winship
2001-03-15 14:36:23 +00:00
parent e9c90b7434
commit aa69aa95cd
2 changed files with 6 additions and 1 deletions

View File

@ -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) {