How to replace link with list element and then add new link in IE7/8 with jQuery?
<p>I can't control how the HTML is generated and need to put a string of links into a list and then add new links for each item.</p>

<p>I have simplified the code at <a href="http://jsfiddle.net/jhASu/" rel="nofollow">http://jsfiddle.net/jhASu/</a> and it works in Chrome/Firefox and IE9 but not in IE 7 and 8 (no new links are generated). What could be the cause of this?</p>

<p>Thanks in advance.</p>
