diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-15 22:36:23 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-15 22:36:23 +0800 |
commit | aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a (patch) | |
tree | 9fce00d11e327816e20a97de992e32652a4cfecc | |
parent | e9c90b743497d9bec70ebe68440b8ad05913eb75 (diff) | |
download | gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar.gz gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar.bz2 gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar.lz gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar.xz gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.tar.zst gsoc2013-evolution-aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a.zip |
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
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-html-utils.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ee35caf134..423d09e209 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -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> * Makefile.am: update cflag macros diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index 41a5a25d3b..d1f069661e 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -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) { |