title: Encode URL in page.js
body: <p>Is there a way to encode a URL by default while using <a href="https://visionmedia.github.io/page.js/" rel="nofollow">page.js</a></p>
  
  <p>For example:</p>
  
  <p>
  <code>&lt;a href="/some link"&gt;Click&lt;/a</code></p>
  
  <p>This gives <code>http://example.com/some link</code> in the address bar instead of <code>http://example.com/some%20link</code>.</p>
  
  <p>To achieve this you need to do</p>
  
  <p><code>&lt;a href={encodeURI('/some link')}&gt;click&lt;/a&gt;</code></p>
  
  <p>Is there any other work around?</p>