h2p
h2p copied to clipboard
Fix for the JSON decode error.
To be able to pass a JSON string through the shell and retain its quotes I made PhantomJS.php base64 encode the string. converter.js now base64 decodes the string before JSON decoding it. ConverterAbstract.php now encodes the URI with three forward slashes to allow PhantomJS to load temporary files.