From: Edward Date: Wed, 19 Feb 2014 09:39:11 +0000 (+0800) Subject: ConvertStyle.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9a0d5bffa890dd462db256904918070a68131c55 ConvertStyle.php --- diff --git a/ConvertStyle.php b/ConvertStyle.php index 716035b3..26e21c83 100644 --- a/ConvertStyle.php +++ b/ConvertStyle.php @@ -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)