lib/Dhalang/puppeteer.rb in Dhalang-0.6.0 vs lib/Dhalang/puppeteer.rb in Dhalang-0.6.1
- old
+ new
@@ -27,10 +27,11 @@
pageRanges: '',
format: 'A4',
width: '',
height: '',
margin: { top: 36, right: 36, bottom: 20, left: 36 },
- preferCSSPageSiz: false
+ preferCSSPageSize: true,
+ omitBackground: false
}
private_constant :DEFAULT_PDF_OPTIONS
DEFAULT_PNG_OPTIONS = {
fullPage: true,