Subversion Repositories eFlore/Applications.cel

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3845 idir 1
// Decode html entities
2
String.prototype.htmlEntitiesWidgets = function () {
3
    const temp = document.createElement("div");
4
 
5
    temp.innerHTML = this;
6
 
7
    const result = temp.childNodes[0].nodeValue;
8
 
9
    temp.removeChild(temp.firstChild);
10
 
11
    return result;
12
};