This Space for Rent

New Code!

Discount has been quickly pushed up to version 1.5.4, this time to correct a new bug that went in when I released version 1.5.2. This defect was that table-of-contents support was dependent on some internal data structures that I changed when I corrected the way [footnote]: links worked, and when I changed the data structures (by nesting them to break up html, source, and (to extract) footnotes) the old table of contents generator kept trying to parse the (now header-free) top level of the source tree.

Ooops. Shows how much *I* use the table of contents code, doesn’t it?

So this release changes one function (mkd_toc() in toc.c) and adds a new test case so that I can’t sneak data structure changes in without having the code tell me something went wrong.

If you use tables of contents, or expect that you will, you need to grab this New Code! Otherwise, older versions will continue to work as they did before.