Fixed incorrect rendering of endTag

Forward slashes in end tags where places incorrectly, rendering invalid HTML.

It was: <div>foo<div/>
It is now: <div>foo</div>

Notice the placement of the forward slash in the closing tag