From a743be19bd3622071c22e9874c92024bc3f5367a Mon Sep 17 00:00:00 2001 From: jaubourg Date: Sun, 6 May 2012 01:27:01 +0200 Subject: Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added. --- src/manipulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/manipulation.js') diff --git a/src/manipulation.js b/src/manipulation.js index cc6acee82..888c9f33c 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -29,7 +29,7 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca // checked="checked" or checked rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, rscriptType = /\/(java|ecma)script/i, - rcleanScript = /^\s*\s*$/g, wrapMap = { option: [ 1, "" ], legend: [ 1, "
", "
" ], -- cgit v1.2.3