First attempt.

This commit is contained in:
Black
2020-02-12 00:37:35 -08:00
parent 29e6933b4f
commit 5c4d0a969d
17 changed files with 561 additions and 1663 deletions

View File

@@ -244,7 +244,7 @@ QString SpectralRoom::eventToString(const RoomEvent& evt,
if (removeReply) {
htmlBody.remove(utils::removeRichReplyRegex);
}
htmlBody.replace(utils::userPillRegExp, "<b>\\1</b>");
htmlBody.replace(utils::userPillRegExp, "<b class=\"user-pill\">\\1</b>");
htmlBody.replace(utils::strikethroughRegExp, "<s>\\1</s>");
return htmlBody;