parent
dfc03ca74a
commit
0997455fb6
|
@ -102,7 +102,7 @@ function setHtml(id, html) {
|
||||||
if (html == undefined) {
|
if (html == undefined) {
|
||||||
el.parentNode.innerHTML = ' ';
|
el.parentNode.innerHTML = ' ';
|
||||||
} else {
|
} else {
|
||||||
el.innerHTML = ('' + html).replace(/<noscript>[\0-\uFFFF]*<\/noscript>/gi, ''); // required for Google Chrome
|
el.innerHTML = html.replace(/<noscript>.*<\/noscript>/i, ''); // required for Google Chrome // hopes that there will be only one <noscript> on each line
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue