1
0
mirror of https://github.com/typecho/typecho.git synced 2025-03-22 10:59:41 +01:00

继续fix

This commit is contained in:
joyqi 2013-12-02 10:21:00 +08:00
parent 8ba71ee6ac
commit 55fb9e0189

@ -123,10 +123,14 @@ class Typecho_Common
*/
public static function __filterAttrs($matches)
{
if (!isset($matches[2])) {
return $matches[0];
}
$str = trim($matches[2]);
if (empty($str)) {
return '';
return $matches[0];
}
$attrs = self::__parseAttrs($str);