[Zope-dev] cvs checkin?
Andy McKay
andym@ActiveState.com
Mon, 16 Apr 2001 08:24:47 -0700
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.