title: HTML5 Context Menu with Pug
body: <p>There currently appears to be a bug in Pug/Jade, in which <code>&lt;menuitem&gt;</code> is treated as self-closing, when in reality, they need to be closed. I've submitted the issue to the GitHub repo, and am awaiting a response/fix, but in the meantime, is there a viable alternative?</p>
  
  <p>This is my <strong>contextmenu.pug</strong> file:</p>
  
  <pre><code>menu#main(type="context", label="")
      menu(label="Visit me on...")
          menuitem(label="LinkedIn")
          menuitem(label="Twitter")
          menuitem(label="Github")
          menuitem(label="Stack Overflow")
          menuitem(label="Email")
      menuitem(label="Go Home")
  </code></pre>
  
  <p>The HTML is rendered as:</p>
  
  <pre><code>&lt;menu id="main" type="context" label=""&gt;
      &lt;menu label="Visit me on..."&gt;
          &lt;menuitem label="LinkedIn"&gt;
          &lt;menuitem label="Twitter"&gt;
          &lt;menuitem label="Github"&gt;
          &lt;menuitem label="Stack Overflow"&gt;
          &lt;menuitem label="Email"&gt;
      &lt;/menu&gt;
      &lt;menuitem label="Go Home"&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Whereas, I would like all the <code>menuitem</code> tags to close with a <code>&lt;/menuitem&gt;</code>. Otherwise, this would cause LinkedIn to be the only option that appears under "Visit me on..." The closest example I could find to this was <a href="https://stackoverflow.com/questions/25650988/how-do-i-force-close-a-tag-in-jade-templates">this StackOverflow question</a>, which suggested using plain HTML, and while this works, I am wondering if there is a Pug-only alternative. Is there a setting somewhere that determines which tags are self-closing? Or has there been a better alternative to forcing a closing tag since that question?</p>
  
  <p>In case it matters, I'm using the Express.js framework, and recently updated from Jade (The issue existed before the migration).</p>
  
  <p><a href="https://github.com/pugjs/pug/issues/2664" rel="nofollow noreferrer">GitHub Issue</a></p>