A simple hot fix

This creates the html first...
Merge pull request #1453 from zz9pzza/issue_3861

A simple hot fix