From: Daniel Martí Date: Mon, 24 Mar 2014 14:10:52 +0000 (+0100) Subject: Wrap maintainer notes in
 to keep newlines and formatting
X-Git-Tag: 0.2~166
X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=94bb9d935593eeb9738aa389afd2a3119ccb7b84;p=fdroidserver.git

Wrap maintainer notes in 
 to keep newlines and formatting
---

diff --git a/fdroidserver/update.py b/fdroidserver/update.py
index 939af587..e616ed53 100644
--- a/fdroidserver/update.py
+++ b/fdroidserver/update.py
@@ -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 += "
\n"
+            wikidata += metadata.description_wiki(app['Maintainer Notes'])
+            wikidata += "
" 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...