Merge branch 'gitadora' into eacnet

This commit is contained in:
GEEKiDoS
2025-05-01 15:21:42 +08:00
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -34,3 +34,4 @@ input.xml
output.json
dump.xml
pdata.json
dump.bin
+1 -1
View File
@@ -185,7 +185,7 @@ export class User {
for (const seq in m.seqs) {
const rec = m.seqs[seq];
if (rec.skill > bestScore) {
bestScore = rec.skill;
bestScore = rec.skill % 10000;
bestSeq = +seq;
}
+4
View File
@@ -168,6 +168,10 @@ function serializeValue(value: any, type: string): string {
}
if (['str', 'string'].includes(type)) {
if (!value.replace) {
return 'null';
}
return value.replace(/[<>&'"]/g, (ch: string) => {
switch (ch) {
case '<': return '&lt;';