summaryrefslogtreecommitdiff
path: root/lib/fuckhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuckhtml.php')
-rw-r--r--lib/fuckhtml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuckhtml.php b/lib/fuckhtml.php
index 6895fbf..f3a6efe 100644
--- a/lib/fuckhtml.php
+++ b/lib/fuckhtml.php
@@ -321,11 +321,11 @@ class fuckhtml{
throw new Exception("(getTextContent) Supplied array doesn't contain an innerHTML index");
}
+
$html = $html["innerHTML"];
}
- $html =
- preg_split('/\n|<\/?br>/i', $html);
+ $html = preg_split('/\n|<\/?br>/i', $html);
$out = "";
for($i=0; $i<count($html); $i++){