If I have some HTML that looks like this:
This is some text that is being written with a high
This works:
wrap = $('.highlight'); wrap.before(wrap.text()); wrap.remove();