From 94bb9d935593eeb9738aa389afd2a3119ccb7b84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Mon, 24 Mar 2014 15:10:52 +0100 Subject: [PATCH] Wrap maintainer notes in
 to keep newlines and
 formatting

---
 fdroidserver/update.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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... -- 2.30.2