mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-12-26 21:44:38 -05:00
messed up json extractor again
This commit is contained in:
parent
de328fff1b
commit
0b350d4d6e
1 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue