Fixed console mode issue
Merge branch 'master' of https://github.com/soqrate/HTML2PDF