I'm trying to get a link to wrap around all text within a div. I can only find solutions where you move certain DOM elements entirely, or move other elements into an element.
current situation:
<div class="text">
<a href="link">text</a> and more text
</div>
desired situation:
<div class="text">
<a href="link">text and more text</a>
</div>
Unfortunately, I cannot change the markup, so I have to do something with jQuery.