mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 20:37:55 -05:00
Ignore case of script tags to make sure they're removed. Fixes #5668. Thanks to Motty/Fudgey for the report and Jitter for the patch!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var jsc = now(),
|
||||
rscript = /<script(.|\s)*?\/script>/g,
|
||||
rscript = /<script(.|\s)*?\/script>/gi,
|
||||
rselectTextarea = /select|textarea/i,
|
||||
rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
|
||||
jsre = /=\?(&|$)/,
|
||||
|
||||
Reference in New Issue
Block a user