aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuckhtml.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-09-06 16:11:51 -0400
committerlolcat <will@lolcat.ca>2025-09-06 16:11:51 -0400
commitcfcc4ec8d1b994c46ac1237f0bcd86f3fbf1763e (patch)
tree521a7b8985c48dea10da8f6119bb86445f1f030f /lib/fuckhtml.php
parent6d34d43a019ef1bf26a4b07d91413eacea2da653 (diff)
please stop fucking up everything you piece of shit extract_json function
Diffstat (limited to 'lib/fuckhtml.php')
-rw-r--r--lib/fuckhtml.php2
1 files changed, 1 insertions, 1 deletions
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] === "\\" &&
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage