diff options
-rw-r--r-- | src/webview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 7fc1b4b8..afa63028 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -216,6 +216,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) { QString text = selectedText(); + text = text.trimmed(); if (text.startsWith(QL1S("http://")) || text.startsWith(QL1S("https://")) || text.startsWith(QL1S("www.")) |