Diff for /ECHO_content/ECHO_collection.py between versions 1.290 and 1.291

version 1.290, 2007/07/19 14:13:13 version 1.291, 2007/07/24 09:11:45
Line 3755  class ECHO_root(Folder,Persistent,Implic Line 3755  class ECHO_root(Folder,Persistent,Implic
   
     def formatAscii(self,str,url=None):      def formatAscii(self,str,url=None):
         """ersetze ascii umbrueche durch <br>"""          """ersetze ascii umbrueche durch <br>"""
         #url=None  
       if not str: 
               return ""
   
         if url:          if url:
                           
             retStr=""              retStr=""
Line 3767  class ECHO_root(Folder,Persistent,Implic Line 3770  class ECHO_root(Folder,Persistent,Implic
                 retStr+="""<a href="%s">%s</a><br/>"""%(strUrl,word)                  retStr+="""<a href="%s">%s</a><br/>"""%(strUrl,word)
             str=retStr              str=retStr
         if str:          if str:
             return re.sub(r"[\n]","<br/>",str)              str = re.sub(r"[\n]","<br/>",str)
               return unicodify(str)
         else:          else:
             return ""              return u""
                   
     link2html=vlp_xmlhelpers.link2html      link2html=vlp_xmlhelpers.link2html
     related2html=vlp_xmlhelpers.related2html      related2html=vlp_xmlhelpers.related2html

Removed from v.1.290  
changed lines
  Added in v.1.291


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>