Fixing html_pdf. Now this conversion works at least for non-cjk documents