Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Replacing left angle bracket with HTML entity when between two backtick characters

by Anonymous Monk
on Sep 20, 2018 at 21:01 UTC ( [id://1222747]=note: print w/replies, xml ) Need Help??


in reply to Replacing left angle bracket with HTML entity when between two backtick characters

Why don't you escape_html the entire string?
  • Comment on Re: Replacing left angle bracket with HTML entity when between two backtick characters

Replies are listed 'Best First'.
Re^2: Replacing left angle bracket with HTML entity when between two backtick characters
by nysus (Parson) on Sep 20, 2018 at 21:12 UTC
    I'm not familiar with the function. But I want to leave html outside of pairs of backticks in tact. Will that function help me do that?

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

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

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

    No recent polls found