Added escape option which if set to false disables escaping