When I write a blog post on my Wordpress site, I want do dynamically add a span-tag inside all the anchor tags, with a data-attribute that has the same value as the anchor tag.ExampleWhat I write in Wordpress:\[code\]<p>Some text with <a href="http://stackoverflow.com/questions/13702470/#">a link in it</a></p>\[/code\]What generates:\[code\]<p>Some text with <a href="http://stackoverflow.com/questions/13702470/#"><span data-title="a link in it">a link in it</span></a>\[/code\]How can you do this with jQuery or PHP?