I am developing a web application using ExtJS to build GUI and communicate with server via RESTful web-service (the returned data is formatted as JSON objects). Now I am hav
If you're using Ext.XTemplate, you can escape html in fields like this:
var tpl = new Ext.XTemplate( 'My Field: {myField:htmlEncode}' );
My Field: {myField:htmlEncode}