From 2d83a6eed144183aac51c2654d0821e73b7361fe Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Sun, 15 Mar 2026 17:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20#5737?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/web/src/components/ChapterContent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/web/src/components/ChapterContent.vue b/modules/web/src/components/ChapterContent.vue index 8c41941b7..6172c3db3 100644 --- a/modules/web/src/components/ChapterContent.vue +++ b/modules/web/src/components/ChapterContent.vue @@ -45,7 +45,7 @@ const replaceImage = (content: string) => { const proxySrc = API.getProxyImageUrl( bookUrl.value, src, - fontSize.value, + fontSize.value * 2, ) return match.replace(src, proxySrc) } @@ -54,6 +54,7 @@ const replaceImage = (content: string) => { } const getImageSrc = (content: string) => { + const imgPattern = /]*src=['"]([^'"]*(?:['"][^>]+\})?)['"][^>]*>/ const src = content.match(imgPattern)![1] //reg tested in template if (isLegadoUrl(src)) return API.getProxyImageUrl(