title: XPath matching issue when text contains &nbsp; instead of regular space
body: <p>For a regular HTML</p>
  
  <pre><code>&lt;b&gt;WordA WordB WordC&lt;/b&gt;
  </code></pre>
  
  <p>I'd use this XPath to retrieve this element.</p>
  
  <pre><code>//b[text()='WordA WordB WordC']
  </code></pre>
  
  <p>But I'm having the below HTML</p>
  
  <pre><code>&lt;b&gt;WordA&amp;nbsp;WordB&amp;nbsp;WordC&lt;/b&gt;
  </code></pre>
  
  <p>When I'm trying to retrieve the element in this instance, the first XPath returns nothing.</p>
  
  <pre><code>//b[text()='WordA\u00a0WordB\u00a0WordC']
  </code></pre>
  
  <p>Above one works.</p>
  
  <p>But instead of using the '\u00a0' part, is there a better way to handle this situation.
  Some defined function to normalize the spaces.</p>
  
  <p>etc:</p>
  
  <pre><code>//b[someFunction()='WordA WordB WordC']
  </code></pre>