##Header tag not rendered in flatpak description #4588

Open
opened 2023-02-24 15:53:47 +00:00 by Altonss · 15 comments
Altonss commented 2023-02-24 15:53:47 +00:00 (Migrated from github.com)

Describe the issue
<em> tag is not rendered in flatpak description. See: 27730a1469/packaging/app.organicmaps.desktop.metainfo.xml and the result here https://flathub.org/apps/details/app.organicmaps.desktop or in Gnome Software for example.

Expected behavior
A description which renders well :)

System information:

  • Organic Maps version: 2023.02.13-11
**Describe the issue** `<em>` tag is not rendered in flatpak description. See: https://github.com/organicmaps/organicmaps/blob/27730a1469543268a180892fc4e6af74aadd635f/packaging/app.organicmaps.desktop.metainfo.xml and the result here https://flathub.org/apps/details/app.organicmaps.desktop or in Gnome Software for example. **Expected behavior** A description which renders well :) **System information:** - Organic Maps version: 2023.02.13-11
Altonss commented 2023-02-24 15:54:55 +00:00 (Migrated from github.com)

By the way, is there a way to directly tag the issue with the correct label or this needs special permissions?

By the way, is there a way to directly tag the issue with the correct label or this needs special permissions?
Member

Markdown is not render in flathub
##is not replaced by header 2 style

Markdown is not render in flathub ##is not replaced by header 2 style
Altonss commented 2023-02-24 16:47:40 +00:00 (Migrated from github.com)

Oh I now know the reason, it's related to a flatpak issue: https://github.com/flathub/flathub/issues/3099

Oh I now know the reason, it's related to a flatpak issue: https://github.com/flathub/flathub/issues/3099
Altonss commented 2023-02-24 16:50:36 +00:00 (Migrated from github.com)

Markdown is not render in flathub ##is not replaced by header 2 style

Header 2 style formatting via HTML doesn't seem to be supported too https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description

> Markdown is not render in flathub ##is not replaced by header 2 style Header 2 style formatting via HTML doesn't seem to be supported too https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description
Altonss commented 2023-03-01 16:04:06 +00:00 (Migrated from github.com)

What do you think should be the best thing to do? Leave it as it is until the issue of rendering is fixed by Flatpak or temporarely adapt the description?

What do you think should be the best thing to do? Leave it as it is until the issue of rendering is fixed by Flatpak or temporarely adapt the description?
biodranik commented 2023-03-14 21:26:30 +00:00 (Migrated from github.com)

Is it easy to fix?

Is it easy to fix?
Altonss commented 2023-03-14 21:28:19 +00:00 (Migrated from github.com)

Is it easy to fix?

For now the simple fix would be to delete <em> and <\em>

> Is it easy to fix? For now the simple fix would be to delete `<em>` and `<\em>`
biodranik commented 2023-03-14 21:53:52 +00:00 (Migrated from github.com)

Can you do it? Will it break the emphasis somewhere else?

Can you do it? Will it break the emphasis somewhere else?
Altonss commented 2023-03-14 21:55:45 +00:00 (Migrated from github.com)

Can you do it? Will it break the emphasis somewhere else?

This text is only used to display for the flatpak package metadata? If yes I don't think it should have any negative impact elsewhere...

> Can you do it? Will it break the emphasis somewhere else? This text is only used to display for the flatpak package metadata? If yes I don't think it should have any negative impact elsewhere...
Altonss commented 2023-03-14 22:00:08 +00:00 (Migrated from github.com)

Ah and also, all the lists are not displayed...
image

Ah and also, all the lists are not displayed... ![image](/uploads/ffed52eafbb436d36427ecd267e39b92/225150578-ebf2c9c5-b359-467b-99c4-edc1b47ef75a.png)
Altonss commented 2023-03-14 22:02:14 +00:00 (Migrated from github.com)

mentioned in merge request !4787

mentioned in merge request !4787
Ferenc commented 2023-06-06 10:37:45 +00:00 (Migrated from github.com)

Since https://github.com/flatpak/flatpak-builder/pull/517 is merged, the <em> tags are properly rendered now,
so I don't think it should be removed.
Screenshot from 2023-06-06 12-37-11

Since https://github.com/flatpak/flatpak-builder/pull/517 is merged, the `<em>` tags [are properly rendered now](https://flathub.org/apps/app.organicmaps.desktop), so I don't think it should be removed. ![Screenshot from 2023-06-06 12-37-11](/uploads/061d7b256479b361df2aebefce1e16fa/c3de7f70-9c32-4b02-ad1a-b3d90d2b6389)
Member

Problem is not fixed on flathub website

Problem is not fixed on flathub website
Member

Everything but the headers (##) is rendered correctly now (on Flathub website & GNOME Software etc)

Everything but the headers (`##`) is rendered correctly now (on Flathub website & GNOME Software etc)
Member

changed title from {--} tag not rendered in flatpak description to {+##Header+} tag not rendered in flatpak description

changed title from **{-<em>-} tag not rendered in flatpak description** to **{+##Header+} tag not rendered in flatpak description**
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps#4588
No description provided.