Skip to content

Commit a9213fc

Browse files
authored
Merge pull request #1720 from Infomaniak/fix-outlook-bloquote-detection
Stop detecting outlook blockquotes
2 parents 76e6a79 + f5e4f99 commit a9213fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/main/java/com/infomaniak/mail/utils/MessageBodyUtils.kt

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Infomaniak Mail - Android
3-
* Copyright (C) 2023 Infomaniak Network SA
3+
* Copyright (C) 2023-2024 Infomaniak Network SA
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by
@@ -39,7 +39,9 @@ object MessageBodyUtils {
3939

4040
private val quoteDescriptors = arrayOf(
4141
"blockquote[type=cite]", // macOS and iOS mail client
42-
"#divRplyFwdMsg", // Microsoft Outlook
42+
// The reply and forward #divRplyFwdMsg div only contains the header, the previous message body is written right next to
43+
// this div and can't be detected
44+
// "#divRplyFwdMsg", // Microsoft Outlook
4345
"#isForwardContent",
4446
"#isReplyContent",
4547
"#mailcontent:not(table)",

0 commit comments

Comments
 (0)