<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">add <BR> to the end of each line</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">example: </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">l_errorMessage = "These IDs have Errors<BR>" #ADD <BR> AT END OF HEADER LINE</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Loop<BR> l_errorMessage = l_errorMessage + " %s<BR>" % (ID) #ADD <BR> AT END OF EACH ID ENTRY<BR>end loop<BR><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: April Lekin <lekin2@llnl.gov><BR>To: zope@zope.org<BR>Sent: Wednesday, December 6, 2006 11:12:20 AM<BR>Subject: [Zope] Adding HTML to Python<BR><BR>
<DIV>In Python I'm building this error message:<BR><BR>l_errorMessage = "These IDs have Errors"<BR>Loop<BR> l_errorMessage = l_errorMessage + " %s " % (ID)<BR>end loop<BR><BR>return l_errorMessage.<BR><BR>How can I put breaks (returns) between the IDs so each ID will be <BR>displayed on it's own line?<BR>like:<BR><BR>These IDs have Errors:<BR>1<BR>46<BR>76<BR>45<BR> <BR>_______________________________________________<BR>Zope maillist - Zope@zope.org<BR><A href="http://mail.zope.org/mailman/listinfo/zope" target=_blank><FONT color=#0000ff>http://mail.zope.org/mailman/listinfo/zope</FONT></A><BR>** No cross posts or HTML encoding! **<BR>(Related lists - <BR><A href="http://mail.zope.org/mailman/listinfo/zope-announce" target=_blank><FONT color=#0000ff>http://mail.zope.org/mailman/listinfo/zope-announce</FONT></A><BR><A href="http://mail.zope.org/mailman/listinfo/zope-dev" target=_blank><FONT
color=#0000ff>http://mail.zope.org/mailman/listinfo/zope-dev</FONT></A> )</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>Everyone is raving about <a href="http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta">the all-new Yahoo! Mail beta.</a></body></html>