diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php
index 66b89a9..0409a18 100644
--- a/lib/fuckhtml.php
+++ b/lib/fuckhtml.php
@@ -554,7 +554,7 @@ class fuckhtml{
case "\"":
case "'":
if(
- $i > 2 ||
+ $i > 2 && // only check if a quote could be there
(
(
$json[$i - 1] === "\\" &&