diff --git a/src/ui/window_list.c b/src/ui/window_list.c index 4898f7a5..ce5560ef 100644 --- a/src/ui/window_list.c +++ b/src/ui/window_list.c @@ -1316,6 +1316,12 @@ wins_add_urls_ac(const ProfWin* const win, const ProfMessage* const message, con while (g_match_info_matches(match_info)) { auto_gchar gchar* word = g_match_info_fetch(match_info, 0); + // cut string at '>' from url since they are sometimes enclosed in <> + gchar* f = g_utf8_strchr(word, -1, '>'); + if (f) { + *f = '\0'; + } + if (flip) { autocomplete_add_unsorted(win->urls_ac, word, FALSE); } else {