projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0230e2f
)
ConvertStyle.php
author
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:29:11 +0000
(13:29 +0800)
committer
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:29:11 +0000
(13:29 +0800)
ConvertStyle.php
patch
|
blob
|
history
diff --git
a/ConvertStyle.php
b/ConvertStyle.php
index
417682b
..
c0062b7
100644
(file)
--- a/
ConvertStyle.php
+++ b/
ConvertStyle.php
@@
-89,6
+89,8
@@
class Pman_Core_ConvertStyle extends Pman
if(!$is_url){
$data = file_get_contents($file);
}
+
+ if(preg_match('/^/', $subject))
return $data;
libxml_use_internal_errors (true);
@@
-141,8
+143,6
@@
class Pman_Core_ConvertStyle extends Pman
$data = $doc->saveHTML();
- return $data;
-
$htmldoc = new HTML_CSS_InlineStyle($data);
if(count($this->styleSheets) > 0){
foreach ($this->styleSheets as $styleSheet){