title: Aurelia: sanity check template html?
body: <p>I recently asked why <a href="https://stackoverflow.com/questions/37300986/aurelia-self-closing-require-element-does-not-work">self-closing elements do not work</a> in Aurelia's templating system; and it was because self-closing elements are invalid html. </p>
  
  <p>Yet, today I again made the same mistake (with widgets this time) and was left scratching my head why content was missing. </p>
  
  <p><strong><em>Question:</strong> Is there a away to sanitise Aurelia template html in a gulp task?</em></p>
  
  <p>I've tried using:</p>
  
  <ul>
  <li><code>gulp-htmlhint</code>: couldn't get it to error on self-closed elements</li>
  <li><code>gulp-htmllint</code>: couldn't configure it; with default settings it blows up with errors. </li>
  <li><code>gulp-html5-lint</code>: doesn't look configurable and it hates aurelia's attributes. </li>
  </ul>