I'm using Python 2.5.2 with lxml 2.1.1-1ubuntu1.
I'm trying to get some version of the lines involving 'wp_ps' to work:
if opts.text:
wp_ps = [E.P(p) for p in bio.wp_text.split('\n')]
table.append(
E.TR(
E.TD(''),
E.TD().extend(wp_ps),
#E.TD(bio.wp_text, colspan='2'),
E.TD(bio.eb_text, colspan='2'),
valign="top",
),
)
Simply, I want to take text with LFs and turn them into Ps.