Strip out whitespace
Close html list element when using bootstrap 3

* When the bootstrap 3 flag is set, a `<ul>` tag is opened rather than
a `<div>`. This also needs to be closed at the end.
Merge pull request #23 from fofr/bootstrap3-fix

Close html list element when using Bootstrap 3