diff options
| author | lolcat <will@lolcat.ca> | 2025-09-06 01:50:20 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2025-09-06 01:50:20 -0400 |
| commit | 0b350d4d6efc5ee013137ab037cd13c28c19a60e (patch) | |
| tree | a93fb915388cdfe9569245546399fe066059ab44 | |
| parent | de328fff1b519bf81902b0f8f41e8c15ab391f64 (diff) | |
messed up json extractor again
| -rw-r--r-- | lib/fuckhtml.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php index 96241dc..c914bc6 100644 --- a/lib/fuckhtml.php +++ b/lib/fuckhtml.php @@ -556,10 +556,12 @@ class fuckhtml{ if( $i > 2 && // only check if a quote could be there ( - $json[$i - 1] === "\\" && - $json[$i - 2] === "\\" - ) || - $json[$i - 1] !== "\\" + ( + $json[$i - 1] === "\\" && + $json[$i - 2] === "\\" + ) || + $json[$i - 1] !== "\\" + ) ){ // found a non-escaped quote |
