Index: src/util.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/util.c,v
retrieving revision 1.291
diff -u -p -r1.291 util.c
--- src/util.c 24 May 2004 17:32:55 -0000 1.291
+++ src/util.c 26 May 2004 11:40:25 -0000
@@ -1341,15 +1341,17 @@ gaim_markup_linkify(const char *text)
}
} else if(*c == '<') {
inside_html = TRUE;
- } else if (!g_ascii_strncasecmp(c, "", 3)) {
- break;
+ if (!g_ascii_strncasecmp(c, "", 3)) {
+ inside_html = FALSE;
+ break;
+ }
+ ret = g_string_append_c(ret, *c);
+ c++;
+ if (!(*c))
+ break;
}
- ret = g_string_append_c(ret, *c);
- c++;
- if (!(*c))
- break;
}
} else if ((*c=='h') && (!g_ascii_strncasecmp(c, "http://", 7) ||
(!g_ascii_strncasecmp(c, "https://", 8)))) {