title: jade template engine a href tag with button
body: <p>How can I link a button in jade template? I am trying to generate the HTML</p>
  
  <pre><code>&lt;a href="create"&gt;&lt;button type="button"&gt;create new post&lt;/button&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>a(href="create") button "create new post"
  </code></pre>
  
  <p>which results in </p>
  
  <pre><code>&lt;a href="create"&gt;button "create new post"&lt;/a&gt;
  </code></pre>
  
  <p>If I change it to</p>
  
  <pre><code>a(href="create")button "create new post"
  </code></pre>
  
  <p>I get the error</p>
  
  <pre><code>logJs\views\posts\update.jade:7 5| block content 6| h1='creating new post' &gt; 7| a(href="create")button "hello word" 8| form(name="add-post",method="post") 9| div.input 10| span.label title Unexpected token `tag` expected `text`, `code`, `:`, `newline` or `eos`
  </code></pre>