[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - vocabularywidget.py:1.46
Philipp von Weitershausen
philikon@philikon.de
Wed, 25 Jun 2003 17:19:22 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv30573/form
Modified Files:
vocabularywidget.py
Log Message:
Added a space before the / in singleton tags, following the W3C
compatability guidelines (http://www.w3.org/TR/xhtml1/#guidelines).
Thanks to Gary for pointing this out.
=== Zope3/src/zope/app/browser/form/vocabularywidget.py 1.45 => 1.46 ===
--- Zope3/src/zope/app/browser/form/vocabularywidget.py:1.45 Wed Jun 18 11:09:16 2003
+++ Zope3/src/zope/app/browser/form/vocabularywidget.py Wed Jun 25 17:18:52 2003
@@ -378,7 +378,7 @@
def renderAction(self, action, disabled=False):
msgid = self.__actions[action]
- return ("<input type='submit' name='%s.action-%s' value=%s %s/>"
+ return ("<input type='submit' name='%s.action-%s' value=%s %s />"
% (self.name, action, quoteattr(self.translate(msgid)),
disabled and "\n disabled='disabled' " or ""))