From 2c3b6213da8c8a53822e46ca752e1c1cb644f8d8 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Tue, 9 Jul 2024 19:18:55 -0400 Subject: [PATCH] Don't try to fix description formatting. Descriptions from the APT cache look ok and flatpak descriptions are formatted using html2text. --- usr/lib/linuxmint/mintinstall/mintinstall.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintinstall/mintinstall.py b/usr/lib/linuxmint/mintinstall/mintinstall.py index 87d9c3b..9730d78 100755 --- a/usr/lib/linuxmint/mintinstall/mintinstall.py +++ b/usr/lib/linuxmint/mintinstall/mintinstall.py @@ -3033,8 +3033,7 @@ def show_package(self, pkginfo, previous_page): app_description = self.builder.get_object("application_description") if description not in (None, ''): - subbed = re.sub(r'\n+', '\n\n', description).rstrip() - app_description.set_label(subbed) + app_description.set_label(description) app_description.show() else: app_description.hide()