flathub-infra / linux-store-frontend

A web application to browse and install applications present in Flatpak repositories. Powers https://www.flathub.org
Apache License 2.0
187 stars 50 forks source link

Supporting the <em> tag #203

Open alemart opened 4 years ago

alemart commented 4 years ago

First I would like to thank you for approving Open Surge on Flathub :)

Parts of the project description are being displayed as (null). In the appdata XML, I'm using the <em> tag for emphasis, as described in https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description . It turns out that whatever appears inside <em>...</em> is being rendered as (null).

    <p>
      <em>How do I play?</em>
    </p>
    <p>
      You can play using a keyboard or a joystick.
    </p>

Can it be fixed? Is the <em> tag supported? The appdata is being validated correctly.

Thank you!

flathub

Dragoncraft89 commented 4 years ago

Lists don't work as well, at least not the unordered ones.

In contrast to the tag they don't show up at all.

barthalion commented 4 years ago

I tracked it down to appstream-glib issue and reported it at https://github.com/hughsie/appstream-glib/issues/350.