jQuery generated <a> not clickable?
<p>To save data flow I use these lines to wrap text in a pattern with anchors, the code executed successfully, but why it seems that the generated anchors are not clickable?</p>

<pre><code>$(function(){
    $(".block span").each(function(){
        $(this).wrapInner("&lt;a&gt;&lt;/a&gt;")
        $(this).find("a").attr("herf","/tag/"+encodeURIComponent($(this).html()));
    })
})
</code></pre>

<p><b>And you could also see jsfiddle here:<a href="http://jsfiddle.net/vftMe/" rel="nofollow">http://jsfiddle.net/vftMe/</a></b><br>
Is there any error in my code? Or it's just the browser's limit? What's the alternative way to do this?</p>
