JSFiddle - React, Tailwind, and code Playground

by Gabriele Petrioli

HTML

<h2>
    <a href="...">Title</a>
</h2>
<h2>
    <a href="...">Other Title</a>
</h2>

JavaScript

$('h2 a').contents().unwrap();