replace insert and delete tags with spans