How to wrap HTML around a text node with jQuery?
<pre><code>&lt;div class="pagination"&gt;
  &lt;a href="#"&gt;1&lt;/a&gt;
  &lt;a href="#"&gt;2&lt;/a&gt;
  3
  &lt;a href="#"&gt;4&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>I need to use jQuery to wrap an HTML element around the number "3". I can't modify the HTML because it is dynamically generated.</p>
