latex update
This commit is contained in:
@@ -2278,8 +2278,8 @@ class Production extends Base
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$info = $this->article_main_obj->where("am_id",$data['id'])->find();
|
||||
if(isset($data["code"])){
|
||||
$content = $data['code'];
|
||||
if(isset($data["content"])){
|
||||
$content = $data['content'];
|
||||
}else{
|
||||
$content = $info['content'];
|
||||
}
|
||||
@@ -2644,7 +2644,7 @@ class Production extends Base
|
||||
* @return string 标签名或'no'
|
||||
*/
|
||||
private function determineNextTag($content) {
|
||||
$tagPattern = '/<(' . implode('|', $this->supportedTags) . ')>/i';
|
||||
$tagPattern = '/<(' . implode('|', $this->supportedTags) . ')\b[^>]*>/i';
|
||||
if (preg_match($tagPattern, $content, $matches)) {
|
||||
return $matches[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user