fix(chatMessages): line breaks in message were not respected when pasting text

Closes #3510
This commit is contained in:
Alexandra Betouni 2022-02-26 01:50:09 +02:00 committed by Iuri Matias
parent ada9501fb9
commit 63d56aba12
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ QtObject {
function getMessageWithStyle(msg, isCurrentUser, hoveredLink = "") {
return `<style type="text/css">` +
`p, img, a, del, code, blockquote { margin: 0; padding: 0; }` +
`img, a, del, code, blockquote { margin: 0; padding: 0; }` +
`code {` +
`font-family: ${Style.current.fontCodeRegular.name};` +
`font-weight: 400;` +