mirror of
https://github.com/typecho/typecho.git
synced 2025-03-22 10:59:41 +01:00
继续fix
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user