Changeset 44 for protocols

Show
Ignore:
Timestamp:
07/21/06 00:33:42 (2 years ago)
Author:
ploum
Message:

#53 two times the same sentence
#54 Bug displaying is ugly

comments are now better displayed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • protocols/protocol_launchpadweb.py

    r43 r44  
    112112                                com_counter += 1 
    113113                                content="" 
    114                                 phrase = '' 
    115114                                for z in body : 
     115                                        phrase = '' 
    116116                                        for ligne in z.contents : 
    117117                                                if ligne.string != None : 
    118                                                         phrase += ligne.string 
    119                                         #phrase = z.contents[0].string 
    120                                         new_phrase = self.htmlify(phrase) 
    121                                         #new_phrase2 = new_phrase.strip().replace(">",">") 
    122                                         content = "%s\n%s" %(content,new_phrase) 
     118                                                        phrase += ligne.string.strip() 
     119                                        content += self.htmlify(phrase) 
     120                                        content += "\n\n" 
    123121                                newcom = comment(com_counter,content,poster,title,"00/00/00") 
    124122                                zebug.addComment(newcom)