if (ltMatch) {
    ltMatch = ltMatch && parseInt(ltMatch[1], 10);
    end = ltMatch - 1;
    fragment = fragment.replace(ltRe, '');
  }