title: How to create xhtml query strings with Scala?
body: <p>How do I create an x(ht)ml-Node containing a href-attribute including a query string without the &amp;s being escaped automatically or runtime error?</p>
  
  <pre><code>val text = Text("?key=val&amp;key2=val2")
  </code></pre>
  
  <p>will be escaped and</p>
  
  <pre><code>val node = &lt;a href="link?key=val&amp;key2=val2"&gt;link&lt;/a&gt;
  </code></pre>
  
  <p>throws (in Scala 2.7.5):</p>
  
  <pre><code>java.lang.AssertionError
  </code></pre>
  
  <p>The node will be used with the Lift bind() helper method, preferably with AttrBindParam().</p>