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:
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-15 Dan Winship <danw@ximian.com>
|
||||||
|
|
||||||
|
* e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't
|
||||||
|
grab the ']'
|
||||||
|
|
||||||
2001-03-12 JP Rosevear <jpr@ximian.com>
|
2001-03-12 JP Rosevear <jpr@ximian.com>
|
||||||
|
|
||||||
* Makefile.am: update cflag macros
|
* Makefile.am: update cflag macros
|
||||||
|
@ -49,7 +49,7 @@ url_extract (const unsigned char **text, gboolean check)
|
|||||||
end++;
|
end++;
|
||||||
|
|
||||||
/* Back up if we probably went too far. */
|
/* Back up if we probably went too far. */
|
||||||
while (end > *text && strchr (",.!?;:>)", *(end - 1)))
|
while (end > *text && strchr (",.!?;:>)]}", *(end - 1)))
|
||||||
end--;
|
end--;
|
||||||
|
|
||||||
if (check) {
|
if (check) {
|
||||||
|
Reference in New Issue
Block a user