So I have a piece of HTML that looks something like this...
<p>This is some copy. In this copy is the word hello</p>
I want to turn the word hello into a link using jquery.
<p>This is some copy. In this copy is the word <a href="">hello</a></p>
That in itself is not too hard. My problem is that if the word is already apart of a link like the example below...
<p>In this copy is the <a href="">word hello</a></p>
I don't want that to end up with a link within a link...
<p>In this copy is the <a href="">word <a href="">hello</a></a></p>
Any help would be much appreciated.

Can you not test for the parent element of the word before turning it into a link?
(I don't know what the actual jQuery would be to test this)
EDIT
The following will replace the word in all
<p>elements that DO NOT contain a link in them.May not work exactly as required but hopefully points you in the direction
Live Demo on JSBin