[Pypi-checkins] r788 - trunk/pypi

georg.brandl python-checkins at python.org
Fri Jul 23 18:50:07 CEST 2010


Author: georg.brandl
Date: Fri Jul 23 18:50:07 2010
New Revision: 788

Modified:
   trunk/pypi/webui.py
Log:
Remove wrap="hard" from textareas to prevent the browser from destroying valid reStructuredText.

Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Fri Jul 23 18:50:07 2010
@@ -1505,12 +1505,12 @@
                             <option value="1"%s>Yes</option>
                            </select>'''%(a,b)
             elif property in ('license', 'platform'):
-                field = '''<textarea wrap="hard" name="%s" rows="5"
+                field = '''<textarea name="%s" rows="5"
                     cols="80">%s</textarea><br />You should enter a full
                     description here only if appropriate classifiers aren\'t
                     available (see below).'''%(property, cgi.escape(value))
             elif property.endswith('description'):
-                field = '''<textarea wrap="hard" name="%s" rows="5"
+                field = '''<textarea name="%s" rows="5"
                     cols="80">%s</textarea><br />You may use
                     <a target="_new" href="http://docutils.sf.net/rst.html">ReStructuredText</a>
                     formatting for this field.'''%(property,


More information about the Pypi-checkins mailing list