Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release descriptions without paragraph/ol/ul tags should fail the validator #635

Open
Dretch opened this issue Jun 1, 2024 · 0 comments

Comments

@Dretch
Copy link

Dretch commented Jun 1, 2024

Currently this gets past the validator without any warnings or errors, but is apparently not valid (one consequence is that the description won't show in flathub - flathub/flathub#5304):

<release version="0.0.15.5" date="2024-05-19">
  <description>
    Upgrade to latest Stackage LTS, simplify desktop file insertion.
  </description>
</release>

Note that when a top-level <description> is missing the <p> tag then the validator fails with app-description-required. So I suppose the same validation should be done for <description> tags inside <release> tags.

In addition, the <description> documentation at https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html#tag-release-description and https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description could more clearly state that HTML tags (at least <p>) are required - currently it just says that are supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant