Improve the hook output spec for the HTML formatter

Close #298 and add it to History.md.