aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-03-07 08:32:35 -0800
committerJohn MacFarlane <[email protected]>2025-03-07 08:32:35 -0800
commit5a360f1abea5542fd0c116cbf0e8ce41afcf1f40 (patch)
treef957f6c19d3458a30a1a17e40f16655863ccbf98 /src
parent45fdd1de100bc085bb187a38db40e43a85b72e8a (diff)
T.P.Logging: Change NoTitleElement from WARNING to INFO.
Users commonly complain about the warning when producing HTML documents without an explicit title. It seems that an info message is more appropriate, since pandoc's default here (using the input's base name) ensures compliance with the standard and many users are happy with that default. Those who want to make sure the message is seen can use `--verbose`. Closes #10671.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Logging.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Logging.hs b/src/Text/Pandoc/Logging.hs
index 5f0f4ba5d..d67d11e01 100644
--- a/src/Text/Pandoc/Logging.hs
+++ b/src/Text/Pandoc/Logging.hs
@@ -473,7 +473,7 @@ messageVerbosity msg =
LoadedResource{} -> INFO
ScriptingInfo{} -> INFO
ScriptingWarning{} -> WARNING
- NoTitleElement{} -> WARNING
+ NoTitleElement{} -> INFO
NoLangSpecified -> INFO
InvalidLang{} -> WARNING
CouldNotHighlight{} -> WARNING