bit typos

master
const an teen 2022-01-02 13:41:35 -05:00
parent 8507b66f88
commit 8dc7ae197c
2 changed files with 2 additions and 3 deletions

View File

@ -104,8 +104,6 @@ std::pair<QString, QString> HttpServer::splitUserNameAndMessage(const QString &r
}
text.replace(rawLink, convertToClickableLink(rawLink));
}
if (linksFound) 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>!
@ -135,6 +133,7 @@ std::pair<QString, QString> HttpServer::splitUserNameAndMessage(const QString &r
space = i;
}
}
if (linksFound) text.replace(" </a>", "</a>"); // delete whitespace in links end
result.first = nick;
result.second = text;

View File

@ -189,7 +189,7 @@ Content-Length: {{SIZE}}\r\n\r\n";
</div>\n";
const QString HTML_PAYLOAD_ADDITIONAL_ARROWS = "\
<a href=\"{{CURRENT_DATA_LOG}}\" title=\"Jump to latest logs\" class=\"main_header__title_arrows\"></a>\n";
<a href=\"{{CURRENT_DATA_LOG}}\" title=\"Jump to today logs\" class=\"main_header__title_arrows\"></a>\n";
const QString HTML_PAYLOAD_ADDITIONAL_NOTIFY = "\
<div onclick=\"sound()\" id=\"musicanotes\" class=\"main_header__title_notify\"></div>\n";