Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better <noscript> removal

  • Loading branch information...
commit f40b874c0bfa9dd5df89c6daf238e9fcaf6a3040 1 parent 39d5293
@vrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  adminer/static/functions.js
View
2  adminer/static/functions.js
@@ -102,7 +102,7 @@ function setHtml(id, html) {
if (html == undefined) {
el.parentNode.innerHTML = '&nbsp;';
} else {
- el.innerHTML = html.replace(/<noscript>.*<\/noscript>/i, ''); // required for Google Chrome // hopes that there will be only one <noscript> on each line
+ el.innerHTML = ('' + html).replace(/<noscript>[\0-\uFFFF]*<\/noscript>/gi, ''); // required for Google Chrome
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.