mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
fix #249 Characters not being properly escaped in Python plugins
This commit is contained in:
parent
6d3f3985a2
commit
6b6ab5e752
@ -90,8 +90,8 @@ namespace Wox.Core.Plugin
|
||||
private string RepalceEscapes(string str)
|
||||
{
|
||||
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
|
||||
.Replace(@"\", @"\\"); //Escapes itself when passed to client
|
||||
//todo: replace "
|
||||
.Replace(@"\", @"\\") //Escapes itself when passed to client
|
||||
.Replace(@"""", @"\\""""");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user