Compare trimed strings in textContent(text)