Gunnar:

Thanks. I read this before in Lincoln Stein's CGI book but it did not register
the first time.


Thanks for the help as this solves my current issues.

Robert Page

On Sep 9, 2004, at 5:31 AM, Gunnar Hjalmarsson wrote:

Robert Page IV wrote:
Sean Davis wrote:
White space (including carriage returns) is ignored by HTML,
generally.  Try surrounding your text output by the <pre> tag
(preformatted text).
I added pre('executive summary') and pre('details') to the
save_weekly() subroutine and this worked!
Thank you very much. I am weary about the fact that HTML tags are permitted inside PRE. Apparently, &, < and > must either not be
present or handled somehow according to http://www.htmlhelp.com/reference/wilbur/block/pre.html.
Can someone recommend a solution to this problem?

Use CGI.pm's escapeHTML() function.

    perldoc CGI

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



Robert C. Page IV


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to