if(!$is_url){
$data = file_get_contents($file);
}
+
+ if(preg_match('/^/', $subject))
return $data;
libxml_use_internal_errors (true);
$data = $doc->saveHTML();
- return $data;
-
$htmldoc = new HTML_CSS_InlineStyle($data);
if(count($this->styleSheets) > 0){
foreach ($this->styleSheets as $styleSheet){