Remove xml:lang from <description> for <release> as well

This commit is contained in:
Kovid Goyal 2024-02-19 07:54:49 +05:30
parent 49e7bf5c97
commit 32a4423efb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1223,7 +1223,7 @@ def make_appdata_releases():
# Formatting of release description tries to resemble that of # Formatting of release description tries to resemble that of
# https://calibre-ebook.com/whats-new while taking into account the limits imposed by # https://calibre-ebook.com/whats-new while taking into account the limits imposed by
# https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description # https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description
description = E.description(**{'{http://www.w3.org/XML/1998/namespace}lang': 'en'}) description = E.description()
if 'new features' in revision: if 'new features' in revision:
description.append(E.p('New features:')) description.append(E.p('New features:'))
description.append(E.ol( description.append(E.ol(