    el = els[i]; i++;
    if (el.childElementCount !== 1) continue;
    s = el.firstElementChild;
    if (s.tagName !== 'SPAN' || s.outerHTML !== el.innerHTML) continue;
    d = document.createElement('div');
    d.innerHTML = s.innerHTML;
    d.className = s.className;
    el.parentNode.replaceChild(d, el);
    i--;
  }

  // break words in <a> if the text and uri are identical
  els = document.getElementsByTagName('a');
  for (i = 0; i < els.length; i++) {
    el = els[i];
    if (el.getAttribute('href') 