Escape data before printing HTML