Replace ' ' with '+' in modules/define.py's URL-getting

This commit is contained in:
jesopo 2018-10-03 16:45:19 +01:00
parent ce2231900d
commit 84ebe5351b

View file

@ -29,6 +29,7 @@ class Module(ModuleManager.BaseModule):
word = event["args"] word = event["args"]
else: else:
word = event["target"].buffer.get(from_self=False) word = event["target"].buffer.get(from_self=False)
word = word.replace(" ", "+")
page = self._get_definition(word) page = self._get_definition(word)
if page: if page: