Javascript html_entity_decode

Dirty, but it works 😛 function html_entity_decode(str) { var ta = document.createElement(“textarea”); ta.innerHTML=str.replace(/</g,”&lt;”).replace(/>/g,”&gt;”); toReturn = ta.value; ta = null; return toReturn; } Did this help you out? Like what you see?Consider donating. I don’t run ads on my blog nor do I do this for profit. A donation however would always put a smile on …

Wasn’t IE8 Supposed to pass Acid2?

The IE Team explains why: IE8 passes the official ACID2 test hosted on http://www.webstandards.org/files/acid2/test.html. There are also a number of copies of this test around the net. One popular copy that I’ve seen of late is http://acid2.acidtests.org/. IE8 fails the copies of ACID2 due to the cross domain security checks IE performs for ActiveX controls. …