added greppr support also btw im not dead

This commit is contained in:
lolcat 2024-05-16 17:22:49 -04:00
parent f8d46df1e8
commit 0d98d7839d
14 changed files with 469 additions and 28 deletions

View file

@ -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++){