chiark / gitweb /
Revert "Wrap maintainer notes in <pre> to keep newlines and formatting"
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 25 Mar 2014 08:41:55 +0000 (09:41 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 25 Mar 2014 08:41:55 +0000 (09:41 +0100)
This reverts commit 94bb9d935593eeb9738aa389afd2a3119ccb7b84.

fdroidserver/update.py

index e616ed5315789e88a8799a31de67cad0bd355beb..939af5871281331e80fa8a6055ce2b31d6e9f5d1 100644 (file)
@@ -104,9 +104,7 @@ def update_wiki(apps, apks):
 
         wikidata += "=Maintainer Notes=\n"
         if 'Maintainer Notes' in app:
-            wikidata += "<pre>\n"
-            wikidata += metadata.description_wiki(app['Maintainer Notes'])
-            wikidata += "</pre>"
+            wikidata += metadata.description_wiki(app['Maintainer Notes']) + "\n"
         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...