* Resolve feedback #388. and bug #32309.

This commit is contained in:
liuyongkai
2023-02-21 11:29:20 +08:00
parent 1aee4378fd
commit d7e3cc4309
+2 -2
View File
@@ -55,13 +55,13 @@ function getDiffs(fileName)
{
if(code.type == 'all' || code.type == 'new')
{
result.code.new += htmlspecialchars_decode(code.line.substring(2)) + "\n";
result.code.new += htmlspecialchars_decode(code.line.substring(1)) + "\n";
result.line.new.push(parseInt(code.newlc));
}
if(code.type == 'all' || code.type == 'old')
{
result.code.old += htmlspecialchars_decode(code.line.substring(2)) + "\n";
result.code.old += htmlspecialchars_decode(code.line.substring(1)) + "\n";
result.line.old.push(parseInt(code.oldlc));
}
})