fix #289
修正由于转义引号导致的在sqlite下查询失败错误 修正由于部分主机没有安装mb插件导致无法输出markdown文本的错误 fix #288 给expression增加参数$escape来控制是否转义语句
This commit is contained in:
@@ -74,6 +74,9 @@ foreach ($lists as $file) {
|
||||
}
|
||||
}
|
||||
|
||||
$source = str_replace(array('mb_strtoupper', 'mb_strlen'),
|
||||
array('Typecho_Common::strToUpper', 'Typecho_Common::strLen'), $source);
|
||||
|
||||
$tokens = token_get_all($source);
|
||||
$source = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user