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