Open arbixy opened 12 years ago
could you put a reduced example of this somewhere?
Here is a small example that fails with in IE8 using hmtl5shiv-3.6.2 and jQuery-1.8.3.
This works:
$('<div><figure></figure></div>').html() -> '<figure></figure>'
This should give the same result as above, but doesn't:
$('<div><figure></figure></div>').clone().html() -> '<:figure></:figure>'
maybe it helps to put an in the figure.
The behaviour does not depend on the content of the figure. I chose an empty figure as an example for brevity. Another example with the same problems:
<figure>
<img src='/some/image'>
<figcaption>Some text</figcaption>
</figure>
Please have some tests with jQuery-append method and IE8, there are cases when the appended node doesn't shiv. My last issue was with .clone() and then .append() Till now updating to last version of html5shiv was helpful.