You caught the need to escape the tag characters in the code, but there are some cases that will slip through. CGI's escapeHTML function can filter the whole file at once; I'm sure there are other implementations too.my $source; { open INPUT, $file; local $/ = undef; $source = <INPUT>; close INPUT; }
In reply to Re: Code + Results to HTML
by TheoPetersen
in thread Code + Results to HTML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |