fix the apostrophe error in smarty html