diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-08-17 15:12:23 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-08-17 15:31:52 -0700 |
commit | 8451bce6ded6b9150f5ab8ae824d99ce1919dfa9 (patch) | |
tree | c31938a2d0535ebb82b417356f02f20c6e079a16 /src/Text/Pandoc/Writers/Powerpoint | |
parent | 4c6af94f1c1f9977aa3bcd683cef940bb9caddd0 (diff) | |
download | pandoc-8451bce6ded6b9150f5ab8ae824d99ce1919dfa9.tar.gz |
Rename TemplateWarning -> PowerpointTemplateWarning.
@undergroundquizscene - I think TemplateWarning
is apt to be confusing, since this actually doesn't have
anything to do with what we call 'templates' in pandoc.
Hence the change to a powerpoint-specific name.
Diffstat (limited to 'src/Text/Pandoc/Writers/Powerpoint')
-rw-r--r-- | src/Text/Pandoc/Writers/Powerpoint/Output.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint/Output.hs b/src/Text/Pandoc/Writers/Powerpoint/Output.hs index a757516a8..feb1c08f5 100644 --- a/src/Text/Pandoc/Writers/Powerpoint/Output.hs +++ b/src/Text/Pandoc/Writers/Powerpoint/Output.hs @@ -457,7 +457,8 @@ presentationToArchive opts meta pres = do <> "reference doc or in the default " <> "reference doc included with pandoc.")) (Nothing, Just ((element, path, entry) :| _)) -> do - P.logOutput (TemplateWarning ("Couldn't find layout named \"" + P.logOutput (PowerpointTemplateWarning + ("Couldn't find layout named \"" <> layoutTitle <> "\" in provided " <> "reference doc. Falling back to " <> "the default included with pandoc.")) |