1
0
forked from lolcat/4get

messed up json extractor again

This commit is contained in:
2025-09-06 01:50:20 -04:00
parent de328fff1b
commit 0b350d4d6e

View File

@@ -556,10 +556,12 @@ class fuckhtml{
if( if(
$i > 2 && // only check if a quote could be there $i > 2 && // only check if a quote could be there
( (
$json[$i - 1] === "\\" && (
$json[$i - 2] === "\\" $json[$i - 1] === "\\" &&
) || $json[$i - 2] === "\\"
$json[$i - 1] !== "\\" ) ||
$json[$i - 1] !== "\\"
)
){ ){
// found a non-escaped quote // found a non-escaped quote