Fixed bug where JScript not escaping HTML entities when performing postbacks

Fixed bug where JScript not escaping HTML entities when performing
postbacks