git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc15b5
)
Fixed logic error in html method - support.leadingWhitespace shouldn't have been...
author
jeresig
<jeresig@gmail.com>
Wed, 2 Dec 2009 20:20:33 +0000
(15:20 -0500)
committer
jeresig
<jeresig@gmail.com>
Wed, 2 Dec 2009 20:20:33 +0000
(15:20 -0500)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
2a6b9dc
..
105a0a9
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-197,7
+197,7
@@
jQuery.fn.extend({
// See if we can take a shortcut and just use innerHTML
} else if ( typeof value === "string" && !/<script/i.test( value ) &&
- (!jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
+ (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
!wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
try {