appdata: Fix nesting <ul> and <p> in metainfo file

The only allowed child elements of `<p>` are `<em>` and `<code>`:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description

Spotted in https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2154

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #1012
This commit is contained in:
Philip Withnall
2023-04-24 13:28:48 +01:00
parent 897c7c5ec9
commit 8fa6dc8773
@@ -48,14 +48,12 @@
<releases> <releases>
<release date="2023-03-16" version="44.0"> <release date="2023-03-16" version="44.0">
<description> <description>
<p> <ul>
<ul> <li>Improve sizing of event editor dialog</li>
<li>Improve sizing of event editor dialog</li> <li>Fix search not working anymore</li>
<li>Fix search not working anymore</li> <li>Fix sidebar not opening events</li>
<li>Fix sidebar not opening events</li> <li>New and updated translations</li>
<li>New and updated translations</li> </ul>
</ul>
</p>
</description> </description>
</release> </release>
<release date="2023-03-06" version="44~rc" /> <release date="2023-03-06" version="44~rc" />
@@ -63,12 +61,10 @@
<release date="2022-09-03" version="43.1" /> <release date="2022-09-03" version="43.1" />
<release date="2022-09-03" version="43.0"> <release date="2022-09-03" version="43.0">
<description> <description>
<p> <ul>
<ul> <li>Navigation sidebar with weekly events</li>
<li>Navigation sidebar with weekly events</li> <li>New and updated translations</li>
<li>New and updated translations</li> </ul>
</ul>
</p>
</description> </description>
</release> </release>
<release date="2022-09-03" version="43~rc" /> <release date="2022-09-03" version="43~rc" />
@@ -76,13 +72,11 @@
<release date="2022-07-09" version="43~alpha" /> <release date="2022-07-09" version="43~alpha" />
<release date="2022-03-18" version="42.0"> <release date="2022-03-18" version="42.0">
<description> <description>
<p> <ul>
<ul> <li>Port to GTK4</li>
<li>Port to GTK4</li> <li>Various UI tweaks</li>
<li>Various UI tweaks</li> <li>Much improved timezone handling</li>
<li>Much improved timezone handling</li> </ul>
</ul>
</p>
</description> </description>
</release> </release>
@@ -147,12 +141,12 @@
<p>GNOME Calendar 3.36 release is here!</p> <p>GNOME Calendar 3.36 release is here!</p>
<p> <p>
This is an exciting release with many improvements and new features: This is an exciting release with many improvements and new features:
<ul>
<li>The event editor dialog was redesigned and reimplemented</li>
<li>Minor tweaks to the main interface</li>
<li>Many improvements and fixes</li>
</ul>
</p> </p>
<ul>
<li>The event editor dialog was redesigned and reimplemented</li>
<li>Minor tweaks to the main interface</li>
<li>Many improvements and fixes</li>
</ul>
</description> </description>
</release> </release>
@@ -161,12 +155,12 @@
<p>GNOME Calendar 3.34 release is here!</p> <p>GNOME Calendar 3.34 release is here!</p>
<p> <p>
This release comes with many improvements and new features: This release comes with many improvements and new features:
<ul>
<li>The calendar management dialog was redesigned and reimplemented</li>
<li>Discovering online calendars is much more reliable</li>
<li>Minor tweaks to the main interface</li>
</ul>
</p> </p>
<ul>
<li>The calendar management dialog was redesigned and reimplemented</li>
<li>Discovering online calendars is much more reliable</li>
<li>Minor tweaks to the main interface</li>
</ul>
</description> </description>
</release> </release>
@@ -343,12 +337,12 @@
This release candidate for GNOME 3.24 adds many new features and improvements. The This release candidate for GNOME 3.24 adds many new features and improvements. The
major highlight is the new Week view, besides the many stability and bugs that major highlight is the new Week view, besides the many stability and bugs that
were fixed. were fixed.
<ul>
<li>The new Week view is here!</li>
<li>GNOME Calendar now has an official Flatpak manifest</li>
<li>Keyboard interaction was improved</li>
</ul>
</p> </p>
<ul>
<li>The new Week view is here!</li>
<li>GNOME Calendar now has an official Flatpak manifest</li>
<li>Keyboard interaction was improved</li>
</ul>
<p> <p>
This release also updates translations, and adds new translations. GNOME Calendar This release also updates translations, and adds new translations. GNOME Calendar
if officially supported on more then 50 languages now. if officially supported on more then 50 languages now.
@@ -362,14 +356,14 @@
<p> <p>
This is the third stable release for GNOME Calendar 3.22, and focuses on This is the third stable release for GNOME Calendar 3.22, and focuses on
bugfixes and stability issues. bugfixes and stability issues.
<ul>
<li>Online calendars are now downloaded offline and synchronized</li>
<li>Properly draw the current month after scrolling</li>
<li>Add an animation on the new month chooser widget</li>
<li>Correctly escape strings</li>
<li>Plug a memory leak</li>
</ul>
</p> </p>
<ul>
<li>Online calendars are now downloaded offline and synchronized</li>
<li>Properly draw the current month after scrolling</li>
<li>Add an animation on the new month chooser widget</li>
<li>Correctly escape strings</li>
<li>Plug a memory leak</li>
</ul>
<p>This release also updates translations, and adds new translations.</p> <p>This release also updates translations, and adds new translations.</p>
<p>Thanks to all the contributors that worked on GNOME Calendar!</p> <p>Thanks to all the contributors that worked on GNOME Calendar!</p>
</description> </description>