|
11 | 11 | * Copyright 2011, The Dojo Foundation
|
12 | 12 | * Released under the MIT, BSD, and GPL Licenses.
|
13 | 13 | *
|
14 |
| - * Date: Mon Dec 11 15:34:47 2023 -0600 |
| 14 | + * Date: Mon Dec 11 15:41:51 2023 -0600 |
15 | 15 | */
|
16 | 16 | (function( window, undefined ) {
|
17 | 17 |
|
@@ -39,7 +39,7 @@ var jQuery = function( selector, context ) {
|
39 | 39 | // A simple way to check for HTML strings or ID strings
|
40 | 40 | // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
|
41 | 41 | // Strict HTML recognition (#11290: must start with <)
|
42 |
| - quickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, // jslint ignore:line |
| 42 | + quickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, |
43 | 43 |
|
44 | 44 | // Check if a string has a non-whitespace character in it
|
45 | 45 | rnotwhite = /\S/,
|
@@ -5531,7 +5531,6 @@ function winnow( elements, qualifier, keep ) {
|
5531 | 5531 |
|
5532 | 5532 | var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
5533 | 5533 | rleadingWhitespace = /^\s+/,
|
5534 |
| - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, |
5535 | 5534 | rtagName = /<([\w:]+)/,
|
5536 | 5535 | rtbody = /<tbody/i,
|
5537 | 5536 | rhtml = /<|&#?\w+;/,
|
@@ -5734,8 +5733,6 @@ jQuery.fn.extend({
|
5734 | 5733 | (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
|
5735 | 5734 | !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
|
5736 | 5735 |
|
5737 |
| - value = value.replace(rxhtmlTag, "<$1></$2>"); |
5738 |
| - |
5739 | 5736 | try {
|
5740 | 5737 | for ( var i = 0, l = this.length; i < l; i++ ) {
|
5741 | 5738 | // Remove element nodes and prevent memory leaks
|
@@ -6146,8 +6143,6 @@ jQuery.extend({
|
6146 | 6143 | if ( !rhtml.test( elem ) ) {
|
6147 | 6144 | elem = context.createTextNode( elem );
|
6148 | 6145 | } else {
|
6149 |
| - // Fix "XHTML"-style tags in all browsers |
6150 |
| - elem = elem.replace(rxhtmlTag, "<$1></$2>"); |
6151 | 6146 |
|
6152 | 6147 | // Trim whitespace, otherwise indexOf won't work as expected
|
6153 | 6148 | var tag = (rtagName.exec( elem ) || ["", ""])[1].toLowerCase(),
|
|
0 commit comments