Hi,
I am copy-pasting doubleclick.net generated ad content to radeditor and it strips part of it's content. The content looks as follows:
radeditor actually match the ending script element in document.write function (line 3) and strips the last script element. It of course leads to js error and ad not working when rendering the content.
Pls, help how should I escape it or how to solve this in general.
Thanks,
Juraj
I am copy-pasting doubleclick.net generated ad content to radeditor and it strips part of it's content. The content looks as follows:
<
script
type
=
"text/javascript"
>
var ord = window.ord || Math.floor(Math.random() * 1e16);
document.write('<
script
type
=
"text/javascript"
src
=
"http://ad.doubleclick.net/xxxyyyzzz/adtarget;area=default;section=default;pos=fullbanner2;sz=728x90;ord=' + ord + '?"
><\/script>');
</
script
>
radeditor actually match the ending script element in document.write function (line 3) and strips the last script element. It of course leads to js error and ad not working when rendering the content.
Pls, help how should I escape it or how to solve this in general.
Thanks,
Juraj