diff --git a/CHANGELOG.md b/CHANGELOG.md index bc73eb8dc3..c650aa79d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ For support you can use [the contact form](https://contact.faircode.eu/?product= * Added option to disable storing invitations tentatively, see [the FAQ](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq186) * Fixed time zone of calendar events * Small improvements and minor bug fixes +* Updated libraries, including [JSoup](https://jsoup.org/news/) and [Material Components](https://github.com/material-components/material-components-android) * Updated [Public Suffix List](https://github.com/publicsuffix/list) * Updated [translations](https://crowdin.com/project/open-source-email) diff --git a/app/build.gradle b/app/build.gradle index f3dc4c4b95..5c297718dc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -504,8 +504,8 @@ dependencies { def biometric_version = "1.2.0-alpha05" def billingclient_version = "6.0.1" def javamail_version = "1.6.7" - def jsoup_version = "1.15.3" - def css_version = "0.9.29" + def jsoup_version = "1.16.2" + def css_version = "0.9.30" def jax_version = "2.3.0-jaxb-1.0.6" def dnsjava_version = "2.1.9" def openpgp_version = "12.0" @@ -525,7 +525,7 @@ dependencies { def reactivestreams_version = "1.0.3" def rxjava2_version = "2.2.21" def svg_version = "1.4" - def compress_version = "1.22" + def compress_version = "1.24.0" def ipaddress_version = "5.4.0" def canary_version = "2.12" def ws_version = "2.14" diff --git a/app/src/main/assets/CHANGELOG.md b/app/src/main/assets/CHANGELOG.md index bc73eb8dc3..c650aa79d3 100644 --- a/app/src/main/assets/CHANGELOG.md +++ b/app/src/main/assets/CHANGELOG.md @@ -11,6 +11,7 @@ For support you can use [the contact form](https://contact.faircode.eu/?product= * Added option to disable storing invitations tentatively, see [the FAQ](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq186) * Fixed time zone of calendar events * Small improvements and minor bug fixes +* Updated libraries, including [JSoup](https://jsoup.org/news/) and [Material Components](https://github.com/material-components/material-components-android) * Updated [Public Suffix List](https://github.com/publicsuffix/list) * Updated [translations](https://crowdin.com/project/open-source-email) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 63f2ab1f03..9b1cd5cfbc 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -1471,10 +1471,7 @@ public class HtmlHelper { if (!TextUtils.isEmpty(span.attr("color"))) span.tagName("font"); - if (document.body() == null) { - Log.e("Sanitize without body"); - document.normalise(); - } + document.body(); // Normalise document return document; } diff --git a/metadata/en-US/changelogs/2114.txt b/metadata/en-US/changelogs/2114.txt index 62eb9487a3..9278a7d8d6 100644 --- a/metadata/en-US/changelogs/2114.txt +++ b/metadata/en-US/changelogs/2114.txt @@ -11,6 +11,7 @@ Next version * Added option to disable storing invitations tentatively, see the FAQ * Fixed time zone of calendar events * Small improvements and minor bug fixes +* Updated libraries, including JSoup * Updated Public Suffix List * Updated translations