Initial UI Commit, still rather rough
This commit is contained in:
6
webapp/js/escape.js
Normal file
6
webapp/js/escape.js
Normal file
@ -0,0 +1,6 @@
|
||||
function escapeHTML (str) {
|
||||
var div = document.createElement('div');
|
||||
var text = document.createTextNode(str);
|
||||
div.appendChild(text);
|
||||
return div.innerHTML;
|
||||
}
|
Reference in New Issue
Block a user