T
Trev
Hi everyone,
Thanks to all who have helped with various issues in the past. I've
come up with a new one though:
I've run some html through a javascript converter; basically it takes
the html and outputs the
following:
var str='';
str+= // whatever text I want
document.write(str);
However, this has converted the < character in html to <\
I didn't know it needed to be escaped! All the double quotes in the
converted string aren't escaped- is this because the string is encased
in single, not double quotes? The single quotes inside the string are
escaped though.
TIA
Trev
Thanks to all who have helped with various issues in the past. I've
come up with a new one though:
I've run some html through a javascript converter; basically it takes
the html and outputs the
following:
var str='';
str+= // whatever text I want
document.write(str);
However, this has converted the < character in html to <\
I didn't know it needed to be escaped! All the double quotes in the
converted string aren't escaped- is this because the string is encased
in single, not double quotes? The single quotes inside the string are
escaped though.
TIA
Trev