Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: HTML code escaped from web page on browser

by NetWallah (Canon)
on Jun 24, 2016 at 14:01 UTC ( [id://1166502]=note: print w/replies, xml ) Need Help??


in reply to HTML code escaped from web page on browser

You could use "encode_entities" from HTML::Entities which is explicitly designed for this, or,
from the CGI module, use:
$escaped_string = escapeHTML("<unescaped> string"); #Escape HTML formatting characters in a string.

        This is not an optical illusion, it just looks like one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-20 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found