diff --git a/src/main/java/burp/ui/useragent/UserAgentPanel.java b/src/main/java/burp/ui/useragent/UserAgentPanel.java index 8b47d31..2d804ea 100644 --- a/src/main/java/burp/ui/useragent/UserAgentPanel.java +++ b/src/main/java/burp/ui/useragent/UserAgentPanel.java @@ -48,12 +48,12 @@ public UserAgentPanel(final IBurpExtenderCallbacks iBurpExtenderCallbacks) { FileUtil.readLines(inputStream, UserAgentCore.mobileUserAgent); } for (String line : UserAgentCore.pcUserAgent) { - pcTextArea.append(line); - pcTextArea.append("\r\n"); + pcTextArea.append(line.trim()); + pcTextArea.append("\n"); } for (String line : UserAgentCore.mobileUserAgent) { - mobileTextArea.append(line); - mobileTextArea.append("\r\n"); + mobileTextArea.append(line.trim()); + mobileTextArea.append("\n"); } }