Just made a little function for removing html codes in this format (i would add support for all the & style codes but theres too many of the darned things
)
function: (one line, ok kinda long line but still one line!)
code:
function htmldecode(encodedString){ return encodedString.replace(/&#([0-9]+);/g, function(a,b){ return String.fromCharCode( b); } ); }
example:
code:
htmldecode("Hello World"); //returns "Hello World"