diff --git a/httpserver.cpp b/httpserver.cpp index e114508..8cb9c22 100644 --- a/httpserver.cpp +++ b/httpserver.cpp @@ -102,6 +102,8 @@ std::pair HttpServer::splitUserNameAndMessage(const QString &r } text.replace(rawLink, convertToClickableLink(rawLink)); } + text.replace(" ", ""); // delete whitespace in links end + // long lines int space = 0; bool nbTag = false; // For safe HTML tags like a ⁢ via !