replace <details> with <div>