mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Added option to prefer HTML to plain text view.
This commit is contained in:
parent
8343e76d5f
commit
7680372eda
41 changed files with 107 additions and 18 deletions
|
|
@ -402,7 +402,7 @@ export const MessageUserStore = new class {
|
|||
message.body = body;
|
||||
message.fetchDataFromDom();
|
||||
} else {
|
||||
let isHtml = !!json.Html,
|
||||
let isHtml = (SettingsUserStore.viewHTML() || !json.Plain) && !!json.Html,
|
||||
resultHtml = '';
|
||||
if (isHtml) {
|
||||
resultHtml = json.Html.toString().replace(/font-size:\s*[0-9]px/g,'font-size:11px');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue