We've discussed this on the dev list:
http://groups.google.com/group/jquery-dev/browse_thread/thread/045ea5af409adb86

For now, just be sure to use the full HTML syntax, we'll try to get a
fix in place here real quick.

--John

On 9/3/07, devsteff <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I figured out a problem in the brand new 1.1.4 version with IE 6+ wich
> breaks my existing code.
> In firefox 1.5+ everything is fine, didn't test any other browsers.
>
> I create a couple of dynamic html element with the html("some html
> code") function.
>
> The following codesnipplet results under 1.1.4 (IE only) in an null
> and under 1.1.3.1 and older in an empty a-tag.
>
> 1.1.3.1             1.1.4
> jQuery("<a/>").html()                JQ object         JQ object
> jQuery("<a/>").size()                 1                       0
> jQuery("<a/>").html()                 ""                      null
>
> jQuery("<a />").html() is the same as above, while
>
> jQuery("<a></a>").html() is fine. this is my momentary work around.
>
> Is XHTML syntax not longer supported in the html() function or is this
> a bug?
>
> Regards, stefan
>
>

Reply via email to