mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Bugfix: forward mail should not embed images by default #491
This commit is contained in:
parent
291ebc5f0e
commit
e2d29af045
1 changed files with 2 additions and 2 deletions
|
|
@ -1030,7 +1030,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
// no default
|
// no default
|
||||||
}
|
}
|
||||||
|
|
||||||
sText = message.bodyAsHTML();
|
sText = message.bodyAsHTML().replace(/<img[^>]+>/g, '').replace(/<a\s[^>]+><\/a>/g, '');
|
||||||
let encrypted;
|
let encrypted;
|
||||||
|
|
||||||
switch (lineComposeType) {
|
switch (lineComposeType) {
|
||||||
|
|
@ -1039,7 +1039,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
sFrom = message.fromToLine(false, true);
|
sFrom = message.fromToLine(false, true);
|
||||||
sText = '<br><br><p>' + i18n('COMPOSE/REPLY_MESSAGE_TITLE', { DATETIME: sDate, EMAIL: sFrom })
|
sText = '<br><br><p>' + i18n('COMPOSE/REPLY_MESSAGE_TITLE', { DATETIME: sDate, EMAIL: sFrom })
|
||||||
+ ':</p><blockquote>'
|
+ ':</p><blockquote>'
|
||||||
+ sText.replace(/<img[^>]+>/g, '').replace(/<a\s[^>]+><\/a>/g, '').trim()
|
+ sText.trim()
|
||||||
+ '</blockquote>';
|
+ '</blockquote>';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue