aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-html-utils.c2
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) {