quixote/form form_templates.ptl,1.18,1.19

Andrew Kuchling <akuchlin-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Update of /home/cvs/quixote/form
In directory hewson:/tmp/cvs-serv19866

Modified Files:
	form_templates.ptl 
Log Message:
Back out my changes

Index: form_templates.ptl
===================================================================
RCS file: /home/cvs/quixote/form/form_templates.ptl,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- form_templates.ptl	18 Oct 2002 19:24:24 -0000	1.18
+++ form_templates.ptl	21 Oct 2002 12:21:26 -0000	1.19
@@ -4,7 +4,7 @@
 #"""
 
 from types import StringType
-from quixote.html import htmlescape, htmltag, htmltext
+from quixote.html import htmltag, htmltext
  
 def _render_start [html] (self, request, action, method='post', name=None):
     htmltag('form', method=method, action=action, name=name)
@@ -26,12 +26,12 @@
     
 def _render_hint [html] (self, hint):
     if hint:
-        '<em>' + htmlescape(hint) + '</em>\n'
+        '<em>' + hint + '</em>\n'
 
 def _render_widget_row [html] (self, request, widget):
     if widget.widget_type == 'hidden':
         return
-    title = htmlescape(self.title[widget.name] or '')
+    title = self.title[widget.name] or ''
     if self.required.get(widget.name):
         title = title + '&nbsp;*'
     '<tr>'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.