replace <div> with <span>