title: MarkupBuilder Rendering From String
body: <p>I'm using MarkupBuilder to render some HTML from a taglib like so (stripped down for clarity):</p>
  
  <pre><code>def formContainer = new MarkupBuilder(out)
  formConainer.form() {
     input() { }
     input() { }
  }
  </code></pre>
  
  <p>Now assume that somewhere inside the form() I want to pull in some elements specified by a user so in a file on the file system I have something like this (again, simplified)...</p>
  
  <pre><code>select() {
    option()
    option()
  }
  </code></pre>
  
  <p>My question is, if I read that select in as a String, is there a way for the taglib to parse it as groovy and make it part of the MarkupBuilder instance?</p>
  
  <pre><code>def formContainer = new MarkupBuilder(out)
  formConainer.form() {
     input() { }
     input() { }
  
     // I want the select to render here
  }
  </code></pre>