This commit is contained in:
ed 2025-02-24 23:32:03 +00:00
parent 499ae1c7a1
commit 3adbb2ff41

View file

@ -4438,7 +4438,7 @@ function read_dsort(txt) {
} }
} }
catch (ex) { catch (ex) {
toast.warn(10, 'failed to apply default sort order [' + txt + ']:\n' + ex); toast.warn(10, 'failed to apply default sort order [' + esc('' + txt) + ']:\n' + ex);
dsort = [['href', 1, '']]; dsort = [['href', 1, '']];
} }
} }
@ -8379,7 +8379,7 @@ function mk_files_header(taglist) {
var tag = taglist[a], var tag = taglist[a],
c1 = tag.slice(0, 1).toUpperCase(); c1 = tag.slice(0, 1).toUpperCase();
tag = c1 + tag.slice(1); tag = esc(c1 + tag.slice(1));
if (c1 == '.') if (c1 == '.')
tag = '<th name="tags/' + tag + '" sort="int"><span>' + tag.slice(1); tag = '<th name="tags/' + tag + '" sort="int"><span>' + tag.slice(1);
else else