jgallen23/toc — pull request #8 by knalli (2012-04-09 19:32:06+00:00)
Title: New plugin option "headerText: Function" to change the default header text retrieval.

extends the plugin with the new option "headerText" (function callback)
so that we can customize the header text (default is still $h.text())

I've attached the changes of the source code and an addition to the documentation. There is still missing the update of the minified version, a changelog entry and perhaps an example case.