mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 09:04:52 +01:00
Previewer converts newlines to html linebreaks which results in nicer message display.
This commit is contained in:
parent
70f8ee92c2
commit
0351a988a7
@ -267,6 +267,10 @@ QString MessagePreviewer::prepareHtmlForMessage(const Message& message) {
|
||||
}
|
||||
|
||||
html += pictures_html;
|
||||
html = html
|
||||
.replace(QSL("\r\n"), QSL("\n"))
|
||||
.replace(QL1C('\r'), QL1C('\n'))
|
||||
.replace(QL1C('\n'), QSL("<br/>"));
|
||||
|
||||
return html;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user