ConvertStyle.php
[Pman.Core] / ConvertStyle.php
index 716035b..26e21c8 100644 (file)
@@ -133,7 +133,7 @@ class Pman_Core_ConvertStyle extends Pman
 //            }
 //        }
         
-        foreach ($xpath->query('//style') as $s){
+        foreach ($xpath->query('//style/text()') as $s){
             $style = $doc->saveHTML($s);
             print_r($style);
 //            $this->styleSheets[] = $this->$this->replaceImageUrl($s)