def _view_text(content, total, limit):
 txt = []
 for i in netlib.utils.cleanBin(content).splitlines():
  txt.append(urwid.Text(('text', i), wrap='any'))
 trailer(total, txt, limit)
 return txt

def _view_text ( content , total , limit ) : txt = [ ] for i in netlib . utils . cleanBin ( content ) . splitlines ( ) : txt . append ( urwid . Text ( ( 'text' , i ) , wrap = 'any' ) ) trailer ( total , txt , limit ) return txt
generates a body for a chunk of text .