NodePDF icon indicating copy to clipboard operation
NodePDF copied to clipboard

Possible fix for shell-quote problem

Open dotcs opened this issue 9 years ago • 1 comments

This PR tries to solve https://github.com/TJkrusinski/NodePDF/issues/33. By two regular expressions I try to get around the problem introduced by the behaviour of shell-quote for quote chars " and exclamation marks !.

There might be a better solution to this problem, but at least for my purposes this fix helps getting the job done. Both test cases work in this way.

dotcs avatar Jun 19 '15 01:06 dotcs

I already tried that and it won't solve the problem in all cases. The best solution I came up so far is to write the whole JSON into a new file which will then be required. This also solves some HTML encoding problems. Only problem is that I have done this at an older version of this project and hadn't the time to port this over.

n3o77 avatar Oct 21 '15 22:10 n3o77