From 9a0d5bffa890dd462db256904918070a68131c55 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 19 Feb 2014 17:39:11 +0800 Subject: [PATCH] ConvertStyle.php --- ConvertStyle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2