Fix CSS in reply.

This commit is contained in:
Black
2020-01-22 19:35:17 -08:00
parent 3940cebd02
commit 09090f81f4
2 changed files with 1 additions and 5 deletions

View File

@@ -246,7 +246,7 @@ QString SpectralRoom::eventToString(const RoomEvent& evt,
}
htmlBody.replace(utils::userPillRegExp, "<b>\\1</b>");
htmlBody.replace(utils::strikethroughRegExp, "<s>\\1</s>");
htmlBody.push_front("<style>pre {white-space: pre-wrap}</style>");
return htmlBody;
}