Brian May <br...@linuxpenguins.xyz> writes: > rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
The simplest possible solution would be to update that regexp to allows white space in the closing tag. But of course the problem here is that a regexp isn't really the right tool for parsing HTML content, and it is very possible this regexp contains other hidden security features. -- Brian May <b...@debian.org>