hluk / copyq-commands

Useful commands for CopyQ clipboard manager.
328 stars 72 forks source link

Fix "Convert Markdown to": escape backslashes in the Command field #58

Closed pbodnar closed 2 years ago

pbodnar commented 2 years ago

Without proper escaping, the command imported via this ini fails to execute, because for example '\'' becomes ''', which is not a valid JavaScript syntax.

(And sorry to those who had hard time installing this command of mine because of this gotcha.)

hluk commented 2 years ago

Thanks for the fix!