diff options
Diffstat (limited to 'ws2a/bugsload.js')
| -rw-r--r-- | ws2a/bugsload.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ws2a/bugsload.js b/ws2a/bugsload.js index 1212e15..4c8b007 100644 --- a/ws2a/bugsload.js +++ b/ws2a/bugsload.js @@ -1,18 +1,8 @@ -function htmlEscape(str) { - return String(str) - .replace(/&/g, '&') - .replace(/"/g, '"') - .replace(/'/g, ''') - .replace(/</g, '<') - .replace(/>/g, '>') - .replace(/\//g, '/'); -} - function loadLastBugs() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (xhttp.readyState == 4 && xhttp.status == 200) { - document.getElementById("bugstable").innerHTML = htmlEscape(xhttp.responseText); + document.getElementById("bugstable").innerHTML = xhttp.responseText; } }; xhttp.open("GET", "/cgi-bin/bugsdata.cgi", true); |
