code: function correctPart(token, part){
          return !part.reduced && part.currentText == token.value && part.className == token.style;
        }
docs: Check whether a part (<span> node) and the corresponding token match.