Encode HTML entities

allonym

New Member
I am parsing some data from feedburner of which contains HTML entities. I am trying to encode the HTML entities using jQuery as such:\[code\]var encodedStr = data['1']['result']['content']; // content with HTML entities$("#content").html(encodedStr).text();\[/code\]but with no results.Here is what its parsed: http://jsbin.com/ihadam/1/edit
 
Back
Top