ConvertStyle.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:48:54 +0000 (17:48 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:48:54 +0000 (17:48 +0800)
ConvertStyle.php

index a01bb08..c303932 100644 (file)
@@ -134,8 +134,8 @@ class Pman_Core_ConvertStyle extends Pman
 //        }
         
         foreach ($xpath->query('//style') as $s){
-            $ss = $doc->saveHTML($s);
-            print_r($s);
+//            $ss = $doc->saveHTML($s);
+            print_r($s->nodeValue);
 //            $this->styleSheets[] = $this->$this->replaceImageUrl($s)
             echo '<br/>';
         }