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

appstream-util validate should fail for unsupported HTML tags #251

Closed
sonnyp opened this issue Sep 16, 2019 · 2 comments
Closed

appstream-util validate should fail for unsupported HTML tags #251

sonnyp opened this issue Sep 16, 2019 · 2 comments

Comments

@sonnyp
Copy link

sonnyp commented Sep 16, 2019

Only <p/>, <ul/>, <ol/>, <em/> and <code/> are supported in the description tag.

When other tags are present, appstream-util validate should fail.

@sonnyp sonnyp changed the title appstream-util validate should fail with unsupported HTML tags appstream-util validate should fail for unsupported HTML tags Sep 16, 2019
@ximion
Copy link
Owner

ximion commented Sep 16, 2019

appstream-util is a tool from a different project, appstream-glib, not from this project.

If I validate with appstreamcli, invalid markup is complained about:

$ appstreamcli validate org.example.TestApp.metainfo.xml
E: org.example.TestApp:101: description-para-markup-invalid pre

Validation failed: errors: 1

So, please report this issue against appstream-glib: https://github.com/hughsie/appstream-glib/issues

@ximion ximion closed this as completed Sep 16, 2019
@sonnyp
Copy link
Author

sonnyp commented Sep 16, 2019

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

2 participants