兼容当不正常输出md 的图片格式时,对图片的转义
This commit is contained in:
2
dowmd.py
2
dowmd.py
@@ -108,6 +108,6 @@ class dow_markdown(Plugin):
|
||||
return text
|
||||
|
||||
def format_content(self, content):
|
||||
content = re.sub(r"\!\[([^\]]+)\]\(([^)\\\s]+)\)", r"&分块&\2&分块&", content)
|
||||
content = re.sub(r"\!\[([^\]]*)\]\(([^)\\\s]+)\)", r"&分块&\2&分块&", content)
|
||||
content = re.sub(r"\\n", "\n", content)
|
||||
return content
|
||||
|
||||
Reference in New Issue
Block a user