diff --git a/lib/webshot.js b/lib/webshot.js index 5b8a21c..2f5e38f 100644 --- a/lib/webshot.js +++ b/lib/webshot.js @@ -23,7 +23,9 @@ module.exports = function() { SITE, PATH, , CB */ var site = args.shift(); - + // make URL parameters work - see also webshot.phantom.js:8 where this is reversed again. + site = site.replace(/&/g, '%26'); + /* , CB