rhbz980670 add ability to upload HTML documents