ConvertStyle.php
authorEdward <edward@roojs.com>
Tue, 8 Jul 2014 05:34:13 +0000 (13:34 +0800)
committerEdward <edward@roojs.com>
Tue, 8 Jul 2014 05:34:13 +0000 (13:34 +0800)
ConvertStyle.php

index f820da7..94e4a56 100644 (file)
@@ -92,7 +92,7 @@ class Pman_Core_ConvertStyle extends Pman
             $data = file_get_contents($file);
         }
         
-        if(preg_match('/^\s<!--NOT CONVERT STYLE-->/', $data)){
+        if(preg_match('/^\s*<!--NOT CONVERT STYLE-->/', $data)){
             return 'got';
             $inLineCss = false;
         }