git.iko.soy/typeable/pandoc
on master help sign in
Clarify warning for missing title.

Closes #5760.

commitd6b60002174acf4112eb008b55fd0828db84e4ee authorJohn MacFarlane <jgm@berkeley.edu> dateThu 19 Sep 2019, 22:40 (7 years ago) parente435943
1 file changed+3−3
src/Text/Pandoc/Logging.hs+3−3
src/Text/Pandoc/Logging.hs+3−3
@@ -290,9 +290,9 @@ showLogMessage msg =
290290 "Extracting " ++ fp ++ "..."
291291 NoTitleElement fallback ->
292292 "This document format requires a nonempty <title> element.\n" ++
293− "Please specify either 'title' or 'pagetitle' in the metadata,\n" ++
294− "e.g. by using --metadata pagetitle=\"...\" on the command line.\n" ++
295− "Falling back to '" ++ fallback ++ "'"
293+ "Defaulting to '" ++ fallback ++ "' as the title.\n" ++
294+ "To specify a title, use 'title' in metadata or " ++
295+ "--metadata title=\"...\"."
296296 NoLangSpecified ->
297297 "No value for 'lang' was specified in the metadata.\n" ++
298298 "It is recommended that lang be specified for this format."