html special characters support during file generation