From 8aea5bfedd9c2a8756e97d11aa266d130263a9f3 Mon Sep 17 00:00:00 2001 From: vdbhb59 Date: Sat, 6 Sep 2025 17:29:37 +0530 Subject: [PATCH] Fixed json parser issues especially for landing engine & DDG --- lib/fuckhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php index 0409a18..66b89a9 100644 --- a/lib/fuckhtml.php +++ b/lib/fuckhtml.php @@ -554,7 +554,7 @@ class fuckhtml{ case "\"": case "'": if( - $i > 2 && // only check if a quote could be there + $i > 2 || ( ( $json[$i - 1] === "\\" &&