adding html to pdf gem code