first pass hack for wkhtml-0.12.x