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 {