aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-09-06 01:50:20 -0400
committerlolcat <will@lolcat.ca>2025-09-06 01:50:20 -0400
commit0b350d4d6efc5ee013137ab037cd13c28c19a60e (patch)
treea93fb915388cdfe9569245546399fe066059ab44
parentde328fff1b519bf81902b0f8f41e8c15ab391f64 (diff)
messed up json extractor again
-rw-r--r--lib/fuckhtml.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php
index 96241dc..c914bc6 100644
--- a/lib/fuckhtml.php
+++ b/lib/fuckhtml.php
@@ -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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage