From 04905c1101176a403c3a0615d643dc4f1a23ff5d Mon Sep 17 00:00:00 2001 From: mlzzen Date: Sun, 30 Jul 2023 09:11:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9bbcode=20size=E6=97=A0?= =?UTF-8?q?%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gov/anzong/androidnga/core/decode/ForumBasicDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_core/src/main/java/gov/anzong/androidnga/core/decode/ForumBasicDecoder.java b/lib_core/src/main/java/gov/anzong/androidnga/core/decode/ForumBasicDecoder.java index 56d6a72f7..a9fb57984 100644 --- a/lib_core/src/main/java/gov/anzong/androidnga/core/decode/ForumBasicDecoder.java +++ b/lib_core/src/main/java/gov/anzong/androidnga/core/decode/ForumBasicDecoder.java @@ -211,7 +211,7 @@ public String decode(String content, HtmlData htmlData) { content = StringUtils.replaceAll(content, ignoreCaseTag + "\\[/font\\]", ""); // size - content = StringUtils.replaceAll(content, ignoreCaseTag + "\\[size=(\\d+)%\\]", + content = StringUtils.replaceAll(content, ignoreCaseTag + "\\[size=(\\d+)%?\\]", ""); content = StringUtils.replaceAll(content, ignoreCaseTag + "\\[/size\\]", "");