in reply to Re^3: Perl, JavaScript and quoting/escaping
in thread Perl, JavaScript and quoting/escaping
This does something even if it doesn't produce the best results. I wouldn't be asking for help if I was doing the correct thing.
This string contains "(s) and it just so happens that escapeHTML changes them to something else. Thus this code will run without errors, even if the output it generates is not correct. With zero escaping the code fails to compile just after the second ".
As for the part you've taken above to mean something other then "Directly above this line of text" and instead as though top/bottom adjective were used. I think if you re-read it you'll see that I was talking about text/html and text/javascript respectively. Such that my statements about above make sense.
Ohh yes, my question is "WHERE CAN I FIND A FUNCTION THAT WILL DO WHAT YOU THINK I NEED A FUNCTION TO DO?" So every thing we are arguing about is completely pointless as you understand clearly what I am asking for. I don't know why you replied, but I'm replying mainly to read myself type.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl, JavaScript and quoting/escaping
by ikegami (Patriarch) on May 06, 2011 at 05:55 UTC | |
by Anonymous Monk on May 06, 2011 at 06:16 UTC |