Skip to content

Fix warning when using `--pdf` and `--html`

Nikolay Samokhvalov requested to merge html_pdf_fix_warnings into master

Fix warning when using --pdf and --html

Use of --pdf and --html options always gives this:

    [WARNING] This document format requires a nonempty <title> element.
      Please specify either 'title' or 'pagetitle' in the metadata,
      e.g. by using --metadata pagetitle="..." on the command line.
      Falling back to 'md'
    [WARNING] This document format requires a nonempty <title> element.
      Please specify either 'title' or 'pagetitle' in the metadata,
      e.g. by using --metadata pagetitle="..." on the command line.
      Falling back to 'pdf'

This fixes this issue, no more warnings like that.

Merge request reports