aelogica/express_templates — pull request #1 by rickyhurtado (2014-11-03 01:56:50+00:00)
Title: Fix the end slash for DOCTYPE

Steve, we need to add logic in displaying the elements. Just encountered displaying a tag without end an tag in DOCTYPE which displayed as:

which affected some of the CSS display. The DOCTYPE should be rendered as:

One of the HTML5 rules applies to VOID elements such as area, base, br, col, command, embed, hr, img, input, keygen, link, meta, param, source, track, wbr - end slash or "/>" is not needed anymore.

For NON-VOID elements such as A tag for anchoring purpose:

should be rendered as:

Another example:

should be rendered as:

I don't know if what I did below is the right thing to do to fix the problem. This request might affect some of the tests in express templates.