Skip to content

Commit

Permalink
Don't try to fix description formatting.
Browse files Browse the repository at this point in the history
Descriptions from the APT cache look ok and flatpak descriptions
are formatted using html2text.
  • Loading branch information
mtwebster committed Jul 9, 2024
1 parent eee710e commit 2c3b621
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions usr/lib/linuxmint/mintinstall/mintinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2c3b621

Please sign in to comment.