c44d6292a0
6d34d43a01
cfcc4ec8d1
0c90c4bc9e
This commit is contained in:
FbIN Support 2025-09-07 16:15:35 +05:30
commit 7fb0e4eb43
3 changed files with 75 additions and 52 deletions

View file

@ -554,11 +554,14 @@ class fuckhtml{
case "\"":
case "'":
if(
$i > 2 ||
$i !== 0 && // only check if a quote could be there
(
(
$json[$i - 1] === "\\" &&
$json[$i - 2] === "\\"
(
$i === 2 ||
$json[$i - 2] === "\\"
)
) ||
$json[$i - 1] !== "\\"
)