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>