latex update

This commit is contained in:
wangjinlei
2026-02-26 17:18:02 +08:00
parent a7ce5fe278
commit 70f1f801e8

View File

@@ -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];
}