Fixes a thinko in the Hatch code that set a bad default content type for
template-driven HTML printing.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
return service.getPrintTemplate(args.template)
.then(function(content) {
args.content = content;
- if (!args.content_type) args.content_type = 'html';
+ if (!args.content_type) args.content_type = 'text/html';
service.getPrintTemplateContext(args.template)
.then(function(context) {
args.context = context;