Assume selections containing :// are links of some kind
This commit is contained in:
parent
f955da564b
commit
9c9165c3f9
1 changed files with 1 additions and 1 deletions
|
@ -1871,7 +1871,7 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
|
|||
|
||||
g_strstrip (view->selected_text);
|
||||
if (view->selected_text && !strchr (view->selected_text, ' ')
|
||||
&& strchr (view->selected_text, '.'))
|
||||
&& (strchr (view->selected_text, '.') || g_strstr_len (view->selected_text, 9, "://")))
|
||||
{
|
||||
if (strchr (view->selected_text, '@'))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue