Skip to content
Permalink
Browse files

report: set fmt_opts for HTML reports

Signed-off-by: Burt P <pburt0@gmail.com>
  • Loading branch information
bp0 authored and lpereira committed Dec 28, 2019
1 parent 9ecdea9 commit ab7cbe4878b261b6719196939010371e3813dba4
Showing with 4 additions and 1 deletion.
  1. +4 −1 shell/report.c
@@ -889,6 +889,9 @@ void report_context_free(ReportContext * ctx)

void report_create_from_module_list(ReportContext * ctx, GSList * modules)
{
if (ctx->format == REPORT_FORMAT_HTML)
params.fmt_opts = FMT_OPT_HTML;

report_header(ctx);

report_create_inner_from_module_list(ctx, modules);
@@ -930,7 +933,7 @@ static gboolean report_generate(ReportDialog * rd)
FILE *stream;

int old_fmt_opts = params.fmt_opts;
params.fmt_opts = FMT_OPT_NONE; // FIXME: FMT_OPT_HTML for HTML
params.fmt_opts = FMT_OPT_NONE;

if (!(file = report_get_filename()))
return FALSE;

0 comments on commit ab7cbe4

Please sign in to comment.
You can’t perform that action at this time.