quixote html.py,1.14,1.15
Roger Masse <rmasse-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote
In directory hewson:/tmp/cvs-serv30702
Modified Files:
html.py
Log Message:
Fix nl2br function
Index: html.py
===================================================================
RCS file: /home/cvs/quixote/html.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- html.py 17 Oct 2002 17:07:12 -0000 1.14
+++ html.py 17 Oct 2002 19:33:41 -0000 1.15
@@ -276,7 +276,7 @@
Insert <br /> tags before newline characters.
"""
- text = htmlescape(text)
+ text = htmlescape(value)
return htmltext(text.s.replace('\n', '<br />\n'))