ui.wsgi: Close the text-input tag
authorW. Trevor King <wking@tremily.us>
Thu, 14 Mar 2013 11:31:16 +0000 (07:31 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 14 Mar 2013 11:31:16 +0000 (07:31 -0400)
quizzer/ui/wsgi.py

index da46c0508ab2c9f0f03622e3033709da8ce1d873..ca635981c617f70f5d7daafaaca0df2155776cd8 100644 (file)
@@ -245,7 +245,7 @@ class QuestionApp (WSGI_DataObject):
             answer_element = (
                 '<textarea rows="5" cols="60" name="answer"></textarea>')
         else:
-            answer_element = '<input type="text" size="60" name="answer">'
+            answer_element = '<input type="text" size="60" name="answer"/>'
         lines = [
             '<html>',
             '  <head>',