feat(opds): support downloading ebooks from OPDS catalogs (#2571)

This commit is contained in:
Huang Xin
2025-12-01 04:22:54 +08:00
committed by GitHub
parent 97f021da87
commit 2ca3561093
74 changed files with 4450 additions and 181 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ export function diff(str1: string, str2: string) {
j++;
k++;
} else {
let delStart = i;
let addStart = j;
const delStart = i;
const addStart = j;
while (i < lines1.length && (k >= lcs.length || !trimCompare(lines1[i], lcs[k]))) i++;
while (j < lines2.length && (k >= lcs.length || !trimCompare(lines2[j], lcs[k]))) j++;