whitespace in links end fix

master
const an teen 2022-01-01 14:34:32 -05:00
parent 6c45cc0e9f
commit 84b9e48f7d
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ std::pair<QString, QString> HttpServer::splitUserNameAndMessage(const QString &r
}
text.replace(rawLink, convertToClickableLink(rawLink));
}
text.replace(" </a>", "</a>"); // delete whitespace in links end
// long lines
int space = 0;
bool nbTag = false; // For safe HTML tags like a &it; via <wbr>!