Move h3 content to details div, clean up tags