From bb67bcfa3212b86518864399537d0c91f968f9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E6=8B=82=E6=9F=B3=E9=A2=9C?= <434857005@qq.com> Date: Fri, 28 Jul 2023 16:04:59 +0800 Subject: [PATCH] up --- templates/logtail.html | 5 +++-- utils/HtmlParser.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/logtail.html b/templates/logtail.html index eef102c..e3e59d4 100644 --- a/templates/logtail.html +++ b/templates/logtail.html @@ -78,8 +78,9 @@ -
+
+
@@ -278,7 +279,7 @@ text: '确认', btnClass: 'btn-primary', action: function() { - $("#log-container div").text(''); + $("#log-container div").html(''); } }, cancel: { diff --git a/utils/HtmlParser.java b/utils/HtmlParser.java index 4c4a5a5..2bee650 100644 --- a/utils/HtmlParser.java +++ b/utils/HtmlParser.java @@ -208,7 +208,7 @@ public class HtmlParser { Matcher m = URLJOIN_ATTR.matcher(option); Matcher n = SPECIAL_URL.matcher(result); //if (isUrl(option)) { - if (m.find() && !n.find() { + if (m.find() && !n.find()){ if (result.contains("http")) { result = result.substring(result.indexOf("http")); } else {