added html escape option