title: What is the correct syntax for using HTML builder with mixed content in Groovy 1.7?
body: <p>On the <a href="https://web.archive.org/web/20100712132418/http://groovy.codehaus.org/Builders" rel="nofollow noreferrer">Groovy example page</a> there is an example of how to use Groovy HTML builder with mixed content:</p>
  
  <pre><code>p [
          "This is some",
          b"mixed",
          "text. For more see the",
          ahref:'http://groovy.codehaus.org' ["Groovy"],
          "project"
    ]
  </code></pre>
  
  <p>This is however not working for me, I get an error message like:</p>
  
  <pre><code>expecting ']', found 'mixed' @ line 33, column 23. b"mixed", ^ 1 error 
  </code></pre>
  
  <p>The Groovy example page states that:</p>
  
  <blockquote>
    <p>[Note: the syntax in some of these
    examples is slightly out-dated. See
    chapter 8 of GINA in the mean-time
    until these examples are updated.]</p>
  </blockquote>
  
  <p>My suspicion therefore is that the syntax of the HTML builder has changed, however I don't have the book so I cannot check and I cannot seem to find any relevant example of this working online. Does anyone know how the syntax is supposed to be in Groovy 1.7 and have got this working?</p>