Closed lfont closed 12 years ago
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 :
<nav> <li></li> </nav>
The fix ensure that the nav element looks like :
<nav> <ul> <li></li> </ul> </nav>
I will create a dedicated branch for this fix because my master branch has changed alot since this pull request.
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 :