flatiron/blacksmith — pull request #54 by lfont (2012-08-17 14:40:49+00:00)
Title: Fixed the sidebar tree.

When the toc.length property is defined in the page.json metadata, the tocLast() function return an invalid html tree and the final content of the nav element is :

The fix ensure that the nav element looks like :