I have notice some strange behavior with table processing
in version 1.3.2. Basically, if I execute a template within
a <TABLE> and not within a <TR>, the table cells are repeated.

An (bare-bones) example:
  
#!/usr/bin/perl 
use HTML::Embperl;
use CGI;
$cgi = new CGI;
print $cgi->header;
print $cgi->start_html;
HTML::Embperl::Execute( { inputfile => "table.epl", } );
print $cgi->end_html;

table.epl =>
<HTML>
<BODY>
<TABLE>
[- Execute( "inner.epl" ) -]
</TABLE>
</BODY>
</HTML>

inner.epl =>
<TR>
<TD>
   <B>JA</B>PH
</TD>
</TR>

This will display JAPH about ten times. However, if I move the <TR> tags out
of the inner.epl and into table.epl, the table is rendered correctly. This
code works fine with 1.3.1. Any ideas? Pointers?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to