From 94f71e47c223c13c4b79814c7e6bb56e4b76cb9f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 28 Jun 2000 20:37:21 +0000 Subject: add ")" to the set of characters to back up over at the end of a potential * e-html-utils.c (url_extract): add ")" to the set of characters to back up over at the end of a potential URL. svn path=/trunk/; revision=3778 --- e-util/ChangeLog | 5 +++++ e-util/e-html-utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ba7f4cc2b0..42e8345601 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2000-06-28 Dan Winship + + * e-html-utils.c (url_extract): add ")" to the set of characters + to back up over at the end of a potential URL. + 2000-06-27 Ettore Perazzoli * e-dialog-widgets.c (get_toggle_value): Use `value_var', not diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index dc47d0243c..a1f76d4e68 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -71,7 +71,7 @@ url_extract (const 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) { -- cgit v1.2.3