Im assuming I dont have a right to do cvs checkins... so how do I get this
tiny stupid little change made, just email Brian ;P?
Make newline_to_br xml compliant <br /> instead of <br>:
--- d:\Zope-2.3.0-src\lib\python\DocumentTemplate\old_DT_Var.py Mon Apr 16
08:23
:10 2001
+++ d:\Zope-2.3.0-src\lib\python\DocumentTemplate\DT_Var.py Mon Apr 16
08:22
:24 2001
@@ -361,7 +361,7 @@
def newline_to_br(v, name='(Unknown name)', md={}):
v=str(v)
if find(v,'\r') >= 0: v=join(split(v,'\r'),'')
- if find(v,'\n') >= 0: v=join(split(v,'\n'),'<br>\n')
+ if find(v,'\n') >= 0: v=join(split(v,'\n'),'<br />\n')
return v
def whole_dollars(v, name='(Unknown name)', md={}):
Cheers.
--
Andy McKay.
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )