mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove xml:lang from <description> for <release> as well
This commit is contained in:
parent
49e7bf5c97
commit
32a4423efb
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user