Revert "Better <noscript> removal"

This reverts commit f40b874c0b.
This commit is contained in:
Jakub Vrana 2011-01-31 11:57:35 +01:00
parent dfc03ca74a
commit 0997455fb6

View file

@ -102,7 +102,7 @@ function setHtml(id, html) {
if (html == undefined) {
el.parentNode.innerHTML = '&nbsp;';
} 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
}
}
}