Cucumber fix - add html version to publication

Some of the cucumber tests publish publications as part of their steps;
this was broken by the requirement for an attachment on a publication.

This patch fills in an html version when filling in the publication form.