Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: how to force HTML to display as textby chipmunk (Parson) |
on Jan 25, 2002 at 08:07 UTC ( [id://141422]=note: print w/replies, xml ) | Need Help?? |
A quick way to embed literal HTML inside an HTML document is with an xmp tag. I would have put an actual example here, but apparently PerlMonks doesn't like the xmp tag. Here's how you would use it:
Of course, if the literal HTML contains an XMP tag, you've got problems. Encoding the angle brackets and ampersands is the most robust solution.
In Section
Seekers of Perl Wisdom
|
|