Fix broken `</div>` tag. 

See See https://github.com/ipython/nbviewer/issues/207
Merge pull request #1 from ahmadia/patch-1

Fix broken `</div>` tag.