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