Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ai
/
ai-workflow
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4e76093f
authored
May 28, 2026
by
wangzhiyang
Committed by
胡悦
Jul 06, 2026
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(会议纪要导出脚本): 修复链接内容前后反引号未被去除的问题
完善_wrap_link函数的链接处理逻辑,移除链接内容前后的反引号后再生成链接标签
1 parent
d3b52b84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
workspace/agent-admin/backend/skills/meeting_minutes/scripts/export_minutes.py
workspace/agent-admin/backend/skills/meeting_minutes/scripts/export_minutes.py
View file @
4e76093
...
@@ -32,9 +32,16 @@ OSS_DIR_PREFIX = "meeting-minutes"
...
@@ -32,9 +32,16 @@ OSS_DIR_PREFIX = "meeting-minutes"
def
_wrap_link
(
url
:
str
)
->
str
:
def
_wrap_link
(
url
:
str
)
->
str
:
cleaned
=
url
.
replace
(
"
\r
"
,
""
)
.
replace
(
"
\n
"
,
""
)
.
strip
()
cleaned
=
url
.
replace
(
"
\r
"
,
""
)
.
replace
(
"
\n
"
,
""
)
.
strip
()
if
cleaned
.
startswith
(
"<link>"
)
and
cleaned
.
endswith
(
"</link>"
):
if
cleaned
.
startswith
(
"<link>"
)
and
cleaned
.
endswith
(
"</link>"
):
return
cleaned
inner
=
cleaned
[
len
(
"<link>"
):
-
len
(
"</link>"
)]
.
strip
()
return
f
"<link>{cleaned}</link>"
else
:
inner
=
cleaned
if
inner
.
startswith
(
"`"
)
and
inner
.
endswith
(
"`"
)
and
len
(
inner
)
>=
2
:
inner
=
inner
[
1
:
-
1
]
.
strip
()
return
f
"<link>{inner}</link>"
# ────────────────────── OSS 上传 ──────────────────────
# ────────────────────── OSS 上传 ──────────────────────
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment