- Code: Select all
…
- Code: Select all
...
Solution Reference
How to apply the solution?
Justin McConnell wrote:result.translation = result.translation.replace(/\&\#(.*?)\;/g,
function() {return (String.fromCharCode(arguments[1]))})
http://www.w3schools.com/jsref/jsref_fromCharCode.asp
- Code: Select all
String.fromCharCode()
