Strip newline char with :edit-url

This commit is contained in:
Florian Bruhin 2016-07-01 13:50:28 +02:00
parent a6dbdc3e84
commit ac9fee310d

View File

@ -1984,5 +1984,6 @@ class CommandDispatcher:
tab: Open in a new tab.
window: Open in a new window.
"""
url = url.rstrip('\n')
if bg or tab or window or url != old_url:
self.openurl(url=url, bg=bg, tab=tab, window=window)