aboutsummaryrefslogtreecommitdiff
path: root/aotextarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aotextarea.cpp')
-rw-r--r--aotextarea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/aotextarea.cpp b/aotextarea.cpp
index a61a2486..06ae81e4 100644
--- a/aotextarea.cpp
+++ b/aotextarea.cpp
@@ -25,6 +25,7 @@ void AOTextArea::append_chatmessage(QString p_name, QString p_message)
{
if (i_word.startsWith("http"))
{
+ i_word.replace("\n", "").replace("\r", "");
this->insertHtml("<a href=\"" + i_word + "\">" + i_word + "</a> ");
}
else