Merge remote-tracking branch 'origin/pr/3562'
This commit is contained in:
commit
ecfd4a77a0
@ -66,6 +66,9 @@ def replace_variables(win_id, arglist):
|
||||
'clipboard': utils.get_clipboard,
|
||||
'primary': lambda: utils.get_clipboard(selection=True),
|
||||
}
|
||||
for key in list(variables):
|
||||
modified_key = '{' + key + '}'
|
||||
variables[modified_key] = lambda x=modified_key: x
|
||||
values = {}
|
||||
args = []
|
||||
tabbed_browser = objreg.get('tabbed-browser', scope='window',
|
||||
|
@ -436,6 +436,11 @@ Feature: Various utility commands.
|
||||
And I run :message-info {clipboard}bar{url}
|
||||
Then the message "foobarhttp://localhost:*/hello.txt" should be shown
|
||||
|
||||
Scenario: escaping {{url}} variable
|
||||
When I open data/hello.txt
|
||||
And I run :message-info foo{{url}}bar
|
||||
Then the message "foo{url}bar" should be shown
|
||||
|
||||
@xfail_norun
|
||||
Scenario: {url} in clipboard should not be expanded
|
||||
When I open data/hello.txt
|
||||
|
Loading…
Reference in New Issue
Block a user