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