From 70f1f801e86a760a2817eeb7fdf471f67c1dfdc5 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Thu, 26 Feb 2026 17:18:02 +0800 Subject: [PATCH] latex update --- application/api/controller/Production.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index da5601b..b39b79e 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -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]; }