mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-03-03 19:03:40 +08:00
修复字符串格式化中的引号使用,确保正确生成图像链接
This commit is contained in:
parent
0389a97b69
commit
9792a2c61f
@ -38,7 +38,7 @@ async def introduce(msg: str):
|
||||
|
||||
img = soup.find("img", class_="infobox-image")
|
||||
if img:
|
||||
result += f" \n"
|
||||
result += f" \n"
|
||||
|
||||
div = soup.find("div", class_="mw-parser-output")
|
||||
if div:
|
||||
|
Loading…
x
Reference in New Issue
Block a user