When Embperl 2.0b8 outputs the value attribute for hidden input fields
from the %fdat hash, it doesn't escape the double quotes correctly,
and the %fdat value is not preserved.  The following Embperl code
demonstrates the problem.

The Embperl code:

  [-
    $fdat{testfield} = 'Say "hi".';
  -]
  <html>
  <body>
  <form name="X" action="[+ $ENV{SCRIPT_URL} +]" method="post">
  <input type="hidden" name="testfield">
  </form>
  </body>
  </html>

produces:

  <html>
  <body>
  <form name="X" action="/test3.epl"  method="post">
  <input type="hidden" name="testfield" value="Say "hi.>
  </form>
  </body>
  </html>
-- 
David Hull

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

Reply via email to