Commit d198c37c authored by Dominik Haumann's avatar Dominik Haumann
Browse files

Fix External Tool "Google Selected Text"

...by using %{PercentEncoded:...} to make sure the
text is properly usable in the URI passed to the browser.

This will not be backported to 19.12, since the KTextEditor
framework only gained PercentEncoded in version 5.67.

FIXED-IN: 20.04
BUG: 416509
parent 08cc702b
......@@ -64,7 +64,7 @@ workingDir=%{Document:Path}
[Tool 4]
actionName=externaltool_GoogleSelectedText
arguments="https://www.google.com/search?q=%{Document:Selection:Text}"
arguments="https://www.google.com/search?q=%{PercentEncoded:%{Document:Selection:Text}}"
category=Tools
cmdname=google
executable=xdg-open
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment