Skip to content

Commit

Permalink
Update InfoTab.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed May 16, 2024
1 parent ee02763 commit 3bc60e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/messageTab/Info/InfoTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ protected Void doInBackground() throws Exception {
List<String> urls = UrlUtils.grepUrlsWithProtocol(text);
urls.addAll(UrlUtils.grepUrlsInQuotes(text));
urls.addAll(UrlUtils.grepUrlPathNotStartWithSlashInQuotes(text));
urls = TextUtils.deduplicate(urls);
urls = FindUrlAndRequest.cleanUrls(urls);
for (String url:urls) {
InfoEntry aaa = new InfoEntry(url,InfoEntry.Type_URL);
Expand Down Expand Up @@ -140,7 +141,7 @@ public byte[] getSelectedData()
}
result.add(String.join(" ", line));
}
return String.join(" ", result).getBytes();
return String.join(System.lineSeparator(), result).getBytes();
}


Expand Down

0 comments on commit 3bc60e5

Please sign in to comment.