From 84b9e48f7def411b98805e885fbd54bd0b0e1a7c Mon Sep 17 00:00:00 2001 From: acetone Date: Sat, 1 Jan 2022 14:34:32 -0500 Subject: [PATCH] whitespace in links end fix --- httpserver.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 !