Fixed issue with escaping HTML params when using invoke.