Delete unused things

This commit is contained in:
2023-05-24 23:04:28 +01:00
parent 2f5e7b8366
commit 01fe242172
2 changed files with 0 additions and 11 deletions

View File

@@ -6,11 +6,6 @@ function setupItemTable(items_json) {
newitem = -1;
}
function nl2br(str, is_xhtml) {
var breakTag = (is_xhtml || typeof is_xhtml === 'undefined') ? '<br />' : '<br>';
return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1'+ breakTag +'$2');
}
function escapeHtml(str) {
return $('<div/>').text(str).html();
}