Beautify html before printing