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

Re: twig_print_outside_roots replaces " with &quote; and ' with '

by kcott (Archbishop)
on Nov 29, 2016 at 20:14 UTC ( [id://1176852]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    __DATA__
    I said, "My name's Ken".
    <pre>Here&apos;s some &lt;em&gt;emphasis&lt;/em&gt;.</pre>
    
  2. or download this
    IN:  I said, &quot;My name&apos;s Ken&quot;.
    OUT: I said, "My name's Ken".
    IN:  <pre>Here&apos;s some &lt;em&gt;emphasis&lt;/em&gt;.</pre>
    OUT: <pre>Here's some <em>emphasis</em>.</pre>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176852]
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-19 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found