Fix bug in chapter generation.

Oops! You need to make a dependency on the html files, not hte markdown files.