From: Alan Knowles Date: Wed, 23 May 2012 01:22:15 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=9fd3b93725496358e3ff09b0f41b1940d29b7f6e;p=Pman.Core Images.php --- diff --git a/Images.php b/Images.php index 12ee2f94..c8a77db4 100644 --- a/Images.php +++ b/Images.php @@ -216,7 +216,7 @@ class Pman_Core_Images extends Pman $matches = array_unique($result[0]); foreach($matches as $img) { $imatch = array(); - preg_match_all('/(width|height|src)=("[^"]*")/i',$img, $imatch); + preg_match_all('/(width|height|src)="([^"]*)"/i',$img, $imatch); // build a keymap $attr = array();