>      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')

Out of curiosity, what is the reason for using join(split(...)) instead of just
replace()? Is it really faster or something?

--jfarr



_______________________________________________
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 )

Reply via email to