From cfcc4ec8d1b994c46ac1237f0bcd86f3fbf1763e Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 6 Sep 2025 16:11:51 -0400 Subject: [PATCH] please stop fucking up everything you piece of shit extract_json function --- lib/fuckhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php index b05c5b2..24c0bf3 100644 --- a/lib/fuckhtml.php +++ b/lib/fuckhtml.php @@ -554,7 +554,7 @@ class fuckhtml{ case "\"": case "'": if( - $i > 1 && // only check if a quote could be there + $i !== 0 && // only check if a quote could be there ( ( $json[$i - 1] === "\\" &&