You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing #2099 , I noticed that we use the markup conversion routines in AppStream to convert app descriptions to plain text (albeit pre-formatted with bullet point characters etc):
Given the package descriptions are already formatted with the limited set of XML markup that AppStream supports, and in theory, the text display widgets in GTK support displaying that markup as-is, we might get some better visual results (and possibly accessibility) if we don't pre-process the markup.
Proposal
Investigate where we use the output from a package's get_description and see if the widget would support displaying XML markup natively (and look better) rather than the plain-textified markup created by markup_convert_simple
Additionally look if markup_convert_simple is used anywhere else and whether it should be.
Prior Art (Optional)
No response
The text was updated successfully, but these errors were encountered:
Problem
While reviewing #2099 , I noticed that we use the markup conversion routines in AppStream to convert app descriptions to plain text (albeit pre-formatted with bullet point characters etc):
appcenter/src/Core/Package.vala
Lines 655 to 680 in 6e78d5d
Given the package descriptions are already formatted with the limited set of XML markup that AppStream supports, and in theory, the text display widgets in GTK support displaying that markup as-is, we might get some better visual results (and possibly accessibility) if we don't pre-process the markup.
Proposal
Investigate where we use the output from a package's
get_description
and see if the widget would support displaying XML markup natively (and look better) rather than the plain-textified markup created bymarkup_convert_simple
Additionally look if
markup_convert_simple
is used anywhere else and whether it should be.Prior Art (Optional)
No response
The text was updated successfully, but these errors were encountered: