From: John Resig Date: Tue, 15 Sep 2009 16:46:15 +0000 (+0000) Subject: Adding some fixes for commit [6537]. If there's leading whitespace, or if an exceptio... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=fc4c6915344625fadf55ca25d3cf9094544d301a Adding some fixes for commit [6537]. If there's leading whitespace, or if an exception is thrown by innerHTML, we need to use the old style method. --- diff --git a/src/manipulation.js b/src/manipulation.js index b883567..2a1e923 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -189,15 +189,21 @@ jQuery.fn.extend({ // See if we can take a shortcut and just use innerHTML } else if ( typeof value === "string" && !/