fix: render LOT values and sync errors without executable interpolation (#4)
This commit is contained in:
1 parent
c0c7804494
commit
1ada8c12e2
10 files changed
+105
-50
No files matched your search
@@ -159,15 +159,6 @@
|
||||
return 5;
|
||||
}
|
||||
|
||||
function escapeHtml(text) {
|
||||
if (text === null || text === undefined) return '';
|
||||
return String(text)
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''');
|
||||
}
|
||||
|
||||
function renderItems(items) {
|
||||
if (items.length === 0) {
|
||||
|
||||
Reference in new issue
Block a user