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

index 94e4a56..519c622 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*<!--\s*NOT CONVERT STYLE\s*-->\s*/', $data)){
             return 'got';
             $inLineCss = false;
         }