1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Wrap maintainer notes in <pre> to keep newlines and formatting

This commit is contained in:
Daniel Martí 2014-03-24 15:10:52 +01:00
parent 02a835931a
commit 94bb9d9355

View File

@ -104,7 +104,9 @@ def update_wiki(apps, apks):
wikidata += "=Maintainer Notes=\n"
if 'Maintainer Notes' in app:
wikidata += metadata.description_wiki(app['Maintainer Notes']) + "\n"
wikidata += "<pre>\n"
wikidata += metadata.description_wiki(app['Maintainer Notes'])
wikidata += "</pre>"
wikidata += "\nMetadata: [https://gitorious.org/f-droid/fdroiddata/source/master:metadata/{0}.txt current] [https://gitorious.org/f-droid/fdroiddata/history/metadata/{0}.txt history]\n".format(app['id'])
# Get a list of all packages for this application...