Revert "Strip newline char with :edit-url"

This reverts commit ac9fee310d.
This commit is contained in:
Florian Bruhin 2016-07-01 13:52:08 +02:00
parent ac9fee310d
commit f1de4cc0cf

View File

@ -1984,6 +1984,5 @@ 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)