Topic: HTML returning empty string after filtering
In regards to: http://www.bioinformatics.org/phplabwar … php?id=178
I kind of dropped off. But need to revisit this. It does not seem that it is related to magic quotes. I do have this code running before processing:
include_once 'htmLawed.php';
$body = (get_magic_quotes_gpc()) ? stripslashes($html_document->body) : $html_document->body;
$body = htmLawed($body, $config);However it does not make a difference. I get an empty string returned. Testing my same source code referenced in the aforementioned post using the online tester you can see that it returns an empty string whenever tidy is set to 1 or format