From e716e8fae698421514545952302e7db234918f8d Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Fri, 30 Aug 2024 09:31:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E5=BD=93=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E8=BE=93=E5=87=BAmd=20=E7=9A=84=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=97=B6,=E5=AF=B9=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E7=9A=84=E8=BD=AC=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dowmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dowmd.py b/dowmd.py index 5632667..3afe710 100644 --- a/dowmd.py +++ b/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